This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC2745R10-Q1:uniscript dummy.hex 中的内容是什么?

Guru**** 2690755 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1592791/cc2745r10-q1-what-is-the-content-in-uniscript-dummy-hex

器件型号: CC2745R10-Q1

您好、

https://github.com/TexasInstruments-Sandbox/SimpleLink-Low-Power-F3-Demos/blob/main/Software%20Tools/uniscript/images/dummy.hex 中找到

除了 CCFG/SCFG 配置外、dummy.hex 中包含哪些类型的内容?

 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    dummy.hex 包含用于加载 HSM 固件的代码。 仅当设置了“-l"标志“标志时才会加载它。 您可以在中找到相关代码 /examples/nortos/LP_EM_CC2745R10_Q1/hsm/hsmfwupdate.

    此致、

    Nima Behmanesh

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    在 dummy.hex 文件中、除了 CCFG/SCFG 配置之外、我们发现在 CCFG/SCFG 数据之前有一些数据。 什么类型的 内容?   我们在加载 HSM 之前就知道、应先加载 HSM。 请在 CCFG/SCFG 数据之前对内容进行测试。 谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Chen:

    我错了、dummy.hex 文件是空的驱动程序工程。 代码附在下面:

    /* For usleep() */
    #include <unistd.h>
    #include <stdint.h>
    #include <stddef.h>
    
    /* Driver Header files */
    #include <ti/drivers/GPIO.h>
    // #include <ti/drivers/I2C.h>
    // #include <ti/drivers/SPI.h>
    // #include <ti/drivers/Watchdog.h>
    
    /* Driver configuration */
    #include "ti_drivers_config.h"
    
    /*
     *  ======== mainThread ========
     */
    void *mainThread(void *arg0)
    {
        /* 1 second delay */
        uint32_t time = 1;
    
        /* Call driver init functions */
        GPIO_init();
        // I2C_init();
        // SPI_init();
        // Watchdog_init();
    
        /* Configure the LED pin */
        GPIO_setConfig(CONFIG_GPIO_LED_0, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW);
    
        /* Turn on user LED */
        GPIO_write(CONFIG_GPIO_LED_0, CONFIG_GPIO_LED_ON);
    
        while (1)
        {
            sleep(time);
            GPIO_toggle(CONFIG_GPIO_LED_0);
        }
    }
    

    您可以在中找到此工程 /examples/rtos/LP_EM_CC2745R10_Q1/drivers/empty.

    此致、

    Nima Behmanesh

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Nima  

       不好感谢你的评分