Go to previous topic
Go to next topic
Last Post 06 Jul 2005 03:45 PM by
ericn@logicpd.com
Running from user flash
4 Replies
Author
Messages
jkinross
New Member
Posts:2
22 Apr 2005 09:08 AM
Hello,
I have a simple application that I can run from boot flash but not user flash.
I convert the elf file to raw with objcopy and I can move it any where in boot flash (0xFF80-0000) with LoLo's load and burn commands and at the dBug prompt type go <addr> and it runs fine.
As soon as I move it to user flash (0xE000-0000) and type go <addr> the dBug hangs. I've tried changing my memory map without success.
Also using exec or jump from LoLo hangs LoLo as well, regardless of the flash device.
I am using Metrowerks with ARC.
- Jeff
Anonymous
Posts:
09 Jun 2005 10:33 AM
jkinross,
Have you had a chance to refer to this FAQ?
http://www.logicpd.com/su...q/faq.php?faq_id=107
This has cleared up a lot of customer issues that revolve around problems with user flash. Have you had success if solving this issue?
Regards,
hwang
New Member
Posts:
20 Jun 2005 02:07 PM
Hi Jeff,
I just saw your email regarding the user flash program, have you already solved
the problem ? if yes, can you tell me how do you solve this problem ? since
I also have the exact the same problem.
thanks
howard
my email:
hwang@circadiant.com
Anonymous
Posts:
21 Jun 2005 11:24 AM
Hello Howard,
Please refer to this FAQ and post back here regarding whether or not this solves the user flash issues that you are seeing:
http://www.logicpd.com/su...q/faq.php?faq_id=131
Thanks,
ericn@logicpd.com
New Member
Posts:
06 Jul 2005 03:45 PM
Jeff, Howard,
I saw your postings & went to check this out. At first, I had the same problem. I saw that my values for configuring the chip select registers (especially chip select 1) were correct. However, I would set CSCR1 register in several successive writes. The problem is, in between each write the chip CSCR1 register is only partially configured. I had to re-write my test code to figure out the CSCR1 register in a temporary location, and then write the CSCR1 register once with all the bits configured correctly. After doing this I could run from the second flash device without issue.
Could your problem be similar???
Eric Nelson
Forums
Freescale / NXP SOMs and Development Kits
M54xx EVB ColdFire Development Kit