Hi Everyone,
I have to implement uart bootloader on S12 ZVH. which document i need to follow. I got two application notes on AN12086 and AN4723.
Please let me know which one is easier to follow .
Thanks & Regards,
Rajni
Hello Rajni,
If you want to check how linker file looks like for S12ZVH128 application project the fastest way is to create a new project for the S12ZVH128 in the Code Warrior and look into Linker_Files folder.
I hope it helps you.
Best regards,
Diana
Hi Rajni,
The Bootloader AN12086 is newer and is better processed.
In the application note, there is the detailed description of the bootloader.
That's my opinion. I hope it helps you.
Best regards,
Diana
Hi Diana,
Thanks for reply , I have gone through this document and it is really helpful . one thing i want to know the security given in this document is by backdoor key is that enough to secure MCU or we have to try some security algorithm like AES128 .
Regards,
Rajni
Hi Rajni,
The MCU security mechanism is not intended to encrypt non-volatile memory.
For more information about the security of MCU see chapter 1.10 Security in the reference manual.
I chose some points:
"The MCU security mechanism prevents unauthorized access to the flash memory.
The security features of the S12Z chip family are:
• Prevent external access of the non-volatile memories (Flash, EEPROM) content
• Restrict execution of NVM commands
Unsecuring the microcontroller can be done using Backdoor key access."
I hope the information helps.
Best regards,
Diana
Hi Diana,
Thanks for reply. I have change my code as per given in AN12086 and able to start the communication and got this as hyper terminal output.
but when i try to program flash it will not respond anything. I am using s19 file as text file and which is generated by the same process as mentioned in application note. May be i am doing something wrong with memory addresses.
Can you help what to change in linker file for MCU MC9S12ZVH128.
It will really help me.
Thanks & Regards,
Rajni
Hi Rajni,
The S-records must have a specified format.
At first, I need to ask did you use SRecCvt.exe tool for re-formating generated S-record file (s19 file)?
Please refer to chapter 4.4. How to convert S-Record that will be downloaded by the Bootloader
Thank you.
Best regards,
Diana
Hello Diana,
Yes i am using SRecCvt.exe tool for reformaring generated S-record file.
Thanks & Regards,
Rajni