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.
Part Number: MSP432P401R
Hello Team,
One of my customers is facing issue with MSP432 programming using BSL scripter v3.2.1... He has BSL Rocket tool and his setup is working fine with Blink_LED.hex file but when he is using it with KEIL generated hex file of his program, command RX_DATA_BLOCK_32 give error as :
[ERROR_MESSAGE]Record type is not valid for the Scripter!
I have checked his application hex file bsl_config.hex but couldn't find issue with the same.. Please find what he reported to me:
_____________________________________________________________________________________________________
We are facing one more issue regarding MSp432 programming using BSL scripter via Rocket on UART.
While programming the flash with .hex build using KEIL, following message received,.
Platform :- Keil Uvision 5
BSL-Scripter : 3.2.1
Hex Format : Intel Hex
[ERROR_MESSAGE]Record type is not valid for the Scripter!
Here I am attaching the hex file , bsl script also keil project for your reference.
Note :- we are able to program blink Led.hex file that comes with BSL Scripter without any issue.
__________________________________________________________________________________
I am attaching his program file bsl_config.hex, his script file and log generated by bsl scripter... Please help me in resolving his issue.
Regards,
Vikas CholaBSL_Issue.zip
Hi Vikas,
I was able to reproduce this behavior. And I believe that the problem is related to the "Start Linear Address Records (MDK-ARM only)". And because it is specific to Keil, I do not believe is supported in the bsl_scrpter. I'm looping in the BSL Team so they can comment on this.
From Keil Documentation: www.keil.com/.../
The Start Linear Address Record can appear anywhere in hex file. In most cases this record can be ignored because it does not contain information which is needed to program flash memory.
So please remove this line from your hex file:
:0400000500000145B1
And that should do the trick.
Hopefully this helps.
David
Hi Sunil,
That is weird, because that solution is working for me. Ok, let's try a different approach.
Please download this tool (srec_cat) to convert from .hex to .txt.
The command that you will need to run is the following: srec_cat bsl_config.hex -intel -o bsl_config.txt -ti_txt
Also I'm attaching the converted .txt for your reference.
Hopefully this helps.
David
**Attention** This is a public forum