Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - misterhershel

#1
ARM Cortex / Re: Cain't program LPC1857
October 22, 2014, 06:25:28 AM
Thanks Andy.

I should have known that, since the code I wrote for this project is able to reflash itself through the binary protocol it communicates with.
#2
ARM Cortex / Re: Cain't program LPC1857
October 21, 2014, 12:38:48 PM
Here's the debug file and hex file with the frequency set to zero.

The hex file may be slightly different, since it's been recompiled, and includes the time of compile, etc.
#3
ARM Cortex / Re: Cain't program LPC1857
October 21, 2014, 07:18:32 AM
My understanding is that when ISP mode is entered, that the internal osc (IRC = 12 mHz) and PLL generate a 96 mHz clock, which is the setting for the files attached in the previous post. I've also tried 12 mHz.

Unfortunately, I've got a doctors appointment in a few minutes, and will be out of the office for a couple of hours, but will be willing to try anything when I get back.
#4
ARM Cortex / Re: Cain't program LPC1857
October 21, 2014, 06:41:54 AM
The "more info" window shows the correct flash range of 0x0 to 0x1F9F7. I had to split the hex file and zip the sections in order to attach.

Thanks for the help.
#5
ARM Cortex / Cain't program LPC1857
October 20, 2014, 02:49:40 PM
I'm set up to program a hex file to bank 0, checked "Erase all Flash", "Verify after programming" and "Activate Flash Bank". It seems to program suspiciously fast, but I get no verify errors. However, when I go to ISP/Display Memory, everything is blank except the word at 0x1C (vector table). If I go to ISP/Verify, it passes.

If I check "Erase blocks used..." it gives me the error ".... nothing to erase".

If I program memory with my emulator, then view it with Flash Magic (ISP/Display Memory), it looks fine, and Flash Magic will even verify the hex file (ISP/Verify).

Also, if I use a utility to create and view my hex file, everything is normal. All lines of the hex file appear to be in order by address, as well.

I could swear that I was able to program the same board a few weeks ago, with no problem. I may have had an earlier version of Flash Magic, but I'm not sure.