XC2733X Flash Programming

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Not applicable
Hi,


I'm trying to program the XC2733X's flash but I've some problems.
At first, i send 0x00 byte and then I receive the identification byte (0xD5).

Do anyone have the UART bootstrap loader (send after the identification byte)?

I tried to send the bootstrap loader copied from Minimon tool but i get no answer from the device.
(File: xc2loadk.hex and xc2minimonk.hex)

I supposed that the problem regards the KLINE (p10.12) and it is the only way i have to program this device.


Thanks in advance.

Fabio Rocca
0 Likes
5 Replies
Not applicable
Hi Fabio Rocca,

After the identification byte, you need to send the 32Bytes secondary bootloader code which is available in the User's Manual.
Only after the secondary bootloader is sent, you can send the minimon program to the device.
For the minimon program, you have to modify in order to use with XC2733X as the ASC bootloader is running on half duplex communication.
0 Likes
Not applicable
Thank for your reply.

What compiler should i use to build the User manual code?
I tried to use Dave 3.1.10 but when i select the target i cannot find the XC2000 family.

Should i use a different compiler / IDE?

Thanks again
0 Likes
Not applicable
Hi,

DAVE3 is only support device from XMC product family.
You may want to use Keil to compile the code.
Please ensure you have the Keil PK166 development kit.
0 Likes
Not applicable
Hi Fabio Rocca,

May I know why you need to develop your own bootloader program?
It would be much easier to just use Memtool to flash your code.
0 Likes
Not applicable
Our costumer need this driver in order to implement it in our test machinary.
They need to start the production as soon as possible.
0 Likes