Hi, I want to change the uart pin definition in programmer_ES5.bin, but I can not find the origin project. Could you please tell me which project is the firmware built from? Thanks.
And what's more, if I have burned the OTP memory and disable the JLINK interface, I can no longer use UART to download firmware to the RAM, am I right?
I have another question, I burned the image to OTP at offset 0x160, which is not at 0x00, and is it the reason that I can't see DA14580 advertising? I am stucked, so please shed some light on me, thanks.
You should not download the image to 0x160, but 0x00. Otherwise probably nothing will work. You can build your own programmer_ES5 from the project flash_programmer in the tools directory in the sdk. You can modify it to use another gpio port/pin and/or baud rate for uart communication.
And what's more, if I have burned the OTP memory and disable the JLINK interface, I can no longer use UART to download firmware to the RAM, am I right?
I have another question, I burned the image to OTP at offset 0x160, which is not at 0x00, and is it the reason that I can't see DA14580 advertising? I am stucked, so please shed some light on me, thanks.
Hi summer20100514
Check the AN-B-020 doc at paragraph 9.2.1 Uart downloading. You should be able to change uart pin using the included command.
MT_dialog
好吧,I have read the doc before, but as far as I am concerned, the command can only select specific UART pins, not a arbitrary one.
You should not download the image to 0x160, but 0x00. Otherwise probably nothing will work.
You can build your own programmer_ES5 from the project flash_programmer in the tools directory in the sdk. You can modify it to use another gpio port/pin and/or baud rate for uart communication.
nice answer, thank you Joacimwe.
Thanks for Sharing Joacimwe
Also, yes you are right, after you burn the OTP the serial boot sequence will not be executed anymore.
MT_dialog
Thank you.