Other Parts Discussed in Thread: EK-TM4C123GXL
I like to go to bootloader mode and do a firmware update.
So far I failed when doing the sync (send 0x55,0x55)
I wrote a small python script, that tries to connect and do the dfu.
2021-09-24 10:51:14.657 DEBUG: open uart /dev/ttyUSB0 2021-09-24 10:51:14.658 DEBUG: try to sync 0/100 ... 2021-09-24 10:51:14.734 DEBUG: try to sync 3/100 2021-09-24 10:51:14.742 DEBUG: got response but value was 0x00 2021-09-24 10:51:14.742 DEBUG: try to sync 4/100 2021-09-24 10:51:14.742 DEBUG: got response but value was 0x33 ...
At my firmware I am setting the uart to 115200, 8, N
after some time I am going to bootloader mode via
void tiva_bl_activateUART(void) { // stop systick sys_clock_disable(); // disable all intr irq_lock(); // start bootloader ROM_UpdateUART(); }
this code runs on zephyr and using the zephyr kernel api to disable the systick and the interrupts.
My config with I am compiling against the tiva hal (2.2.0295) is
#define PART_TM4C123GH6PGE #define TARGET_IS_TM4C123_RB1
Any ideas what I missed?