Tool/software: Code Composer Studio
Hi ,
I am testing CAN bootloader example code. I don't have NI-CAN device so, i have have written code for BeagleBone enhanced to send all commands specified in the document provided in example program doc. folder. When i am sending PING command , bootloader is giving ACK also RESET and RUN command is working by placing blink app image via JTAG without erasing bank 0 section 0 to 10.
My problem is when i am giving DOWNLOAD command which is actually erasing flash from app start address to size of image and after that it should respond ACK or NACK, but after issuing this command it is getting stuck.
I guess CPU is enable erase bank 0 as this is trying to erase same bank's sector.
Even though in system initialization file before main, _Copy2RAM is called it is not working properly and i am not getting any ACK.
what is solution ??
Thanks ..