Other Parts Discussed in Thread: UNIFLASH, IWR6843
Hey everyone.
For a project that i am working on i would like to be able to flash the bootloader of the IWR6843 via usart with a efr32fg23a chip as a sort of middle man between a server and the IWR6843 so that it can be flashed remotely. I've written the basic code for this application and the frames that need to be send to the IWR6843 are build correctly according to the document swra627-bootloader modus. When i check the output of my program it matches the output of the uniflash messages completely (except for the GET STATUS command which should not be necessary according to the swra627 document).
The problem i am facing now is when i put the board into run mode, the flashed program on the IWR6843 does not function. There is no output data being send after running the gui needed. I'm trying to flash the overhead-3d-people-counting bin file from the industrial toolbox to be sure that the code on the IWR6843 is not the problem. When i flash this bin file with uniflash it works fine. But with my own code it does not function, eventhough the usart output is the same and my code waits for a ACK from the IWR6843 like it's supposed to. All the commands get send via usart and they all get an ACK back.
I've tried multiple solutions like waiting for the ACK message that's send when a command is received. I've even done this by hand to make sure all the message get an ACK back, which they do. I've also tried sending less that the 240 bytes, but this seems to give an error which i can't figure out what it means since the message is not documented, but i am guessing it's the NACK since it only shows up when i execute the close command. And like i said before all the messages are send over usart and they all get an ACK back so this got me really confused on what's going wrong.
Does anyone know what the problem might be or does anyone have a suggestion on what else i could try since i am running out of ideas. i've read on another forum post that the bootloader might have some bugs (IWR6843: Bootloader QSPI flash write) could i have stumbled on one of them? .
With kind regards,
Jan.