Hi all,
i want to customize & programme the BSL code of the msp430f5438 . How can i programme it by JTAG. please explain with the procedure ,also tell me it is possible to customize & programme the BSL code for the msp430f5438 chip?what is the version of the BSL that i can load to the 5438? also tell me from which compiler or IDE is used to programm,
i read slau 265c.
thank u
Both BSL and JTAG programming are described in our Programming User's Guide
Our primary JTAG programmer is the MSP-FET430UIF
EVMs, Examples, & app reports are located at www.MSP430.com
EDIT: Sorry, just noticed that last line about having read the Programming UG.
The programming spec is described there, though. What are you not finding in that guide that you are looking for?
Our primary IDE's are IAR and CCS (was CCE)
How to create a simple new project: in IAR, in CCS
Thank you for reply.
I wants to know ,from where i can take the basic BSL code ,so i can add my code(modify the BSL) & compile it .then how can i load or burn it into t specific protected memory of the chip or can i place this compiled code any where in to the flash memory via jtag?
Explanation: I want to add my code into the BSL code & place it into protected memory ,this programme contain detection one switch .if it is in on condition then it allow to programme my flash & if it found to be in off condition then it will exit the BSL routine & start at normal operation . so i need the BSL code to customize it as per my requirement.
in the slau265c in the ROM based BSL i doesn't found the BSL source code . it give the reference of the loadable boot loader BS_150S_14x.txt .& it is in the hex format.
also i want to know the MSP430f5438 chip is support such functionality?bcz while gone throuh the msp forum i read some problem regarding the MSP430f5438L while BSL programming? so it is fine with the MSP430f543L or i can use the MSP430f5438A?
i read slau 265c,slaa069d etc
i want some help .
A couple of quick notes on this:
embedding ideas I wants to know ,from where i can take the basic BSL code ,so i can add my code(modify the BSL) & compile it .then how can i load or burn it into t specific protected memory of the chip or can i place this compiled code any where in to the flash memory via jtag? ... in the slau265c in the ROM based BSL i doesn't found the BSL source code . it give the reference of the loadable boot loader BS_150S_14x.txt .& it is in the hex format.
...
1. The BSL Rom code is not publicly available.
embedding ideas Explanation: I want to add my code into the BSL code & place it into protected memory ,this programme contain detection one switch .if it is in on condition then it allow to programme my flash & if it found to be in off condition then it will exit the BSL routine & start at normal operation . so i need the BSL code to customize it as per my requirement.
2. The 5xx BSL is designed to be customize-able, but a flash bug has prevented this until the MSP430F54xxA
3. We have a report which can help you load your custom bootloader here: Flash Monitor
thank you again...
so it is not feasible to go with the msp430f54xx with customized BSL.......for my application.&
it is better to wait for MSP430f5438A ?
but flash monitor will give such security as i achieve from the BSL customized code for msp430f54xx?
It is feasible to write customized BSL for MSP430F54xx rev.L. But you have to either (a) avoide the hardware bugs in that protected Flash, or (b) put your BSL in the Main Flash. There is no need to wait for MSP430F54xxA.
Do you use c? If so, you do not want to have the source code for the TI MSP540F54xx BSL nor other ROM BSL.
Thank u old_cow_yellow,
it means it is feasible to go for flash monitor programme , but for flash monitor programme require at least one integrated USART & msp54xx series have integrated UART? so it is feasible?
Correct.
In addition, all MSP430 chips have at least one Timer and Timer assisted software UART can be used for BSL.
As a matter of fact, all TI ROM BSL and the current TI F54xx BSL all use Timer assisted software UART. TI also uses a trick so that a crystal is not required and the MSP430 will use the PC's transmission as a time reference.
In the near future, we will be releasing an app note specifically to design a custom BSL for 5xx devices.
For now, the flash monitor app note will be your best point of support.
William
--------------------------------------------------------------------------------------------------------- Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
I'm writing BSLcode in C (and maybe a little bit of inline assembly) for the MSP430 and will post the source code when I'm done.
Cheers,
Jef
Hi,
I've programmed a very small bootloader that is ment to run from RAM, but it's easily relocated to flash segments. The source code (IAR Worbench 4.21 project) shows how to put code at a certain memory location (using a modified linker file). It also shows how to set the reset vector to another function than main(). (unsing a modified cstartup file). I've also include documentation of the protocol.
Hope this helps.
Thank you very much!
embedding ideas customize & programme the BSL code for the msp430f5438 chip?
embedding ideaswhat is the version of the BSL that i can load to the 5438
I don't see any reason to upload a different version of BSL than the one that is already there, except there is a bugfixed version available (if so, there will be an installer for this very MSP version, which does the job for you) or you want to write your own BSL (then it is void to ask for an official 'version' of it).
There are appnotes from TI dealing with usage of existing and programming of own BSLs as well as several (many) threads n this forum which deal with this topic.
_____________________________________Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.