Main Menu
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 - wllin027

#1
LPC9xx/LPC9xxx / problem about security bits...
August 15, 2006, 04:08:43 AM
I edited my code in uVision IDE and set security bit 0 and 1 of all memory blocks.
Accroding to the user manual of P89LPC932, setting security bit 1 will disable program & erase of certain memory block and will only be erased by "global erase command" in ISP/IAP mode, or from the parallel programmer.
I downloaded the Hex file into MCU by Flashmagic by followong the 5 steps and "protect ISP code"and "Erase all flash" functions were checked before clicking "start".
When I was done, the security bits were read correctly as I set in uVision.
Operated the same steps again and error message displayed as " unable to erase page 112 via security bits".
Why did flashmagic erase the memory block 0~6 without erasing block 7 ?
Was it result from security bits or Protect ISP code function?
I cancelled the protect ISP code function and wanted to erase flash page 112 but failed.
Was "Erash all flash" function the same as "global erase command"?
Was "protect ISP code"function superior to"global erase command"?
Now, how can I clear the security bits of memory block 7 by Flashmagic?

Thanks!
#2
Feature Requests / Can I run Flash Magic on PDA?
May 26, 2006, 05:37:58 AM
Another way to say the same thing,
is Flash Magic able to run in WinCE or other OS of pocket PC ?
Thanks!
#3
The factory default boot loader in MCU seemed to be destroyed when programmed by parallel programmer. Can I get original ISP code to write into the same address that restores the ISP download function?
I  use Keil EPM900 as a parallel programmer. When downloading code the "Protest ISP Code" function was checked. But  "most" LPC932 MCUs programmed by this way can't re-connect with ISP downloader (MCB900). Notice that I said "most" 932. The problem didn't happen to all 932.  A few 932 can still be downloaded by ISP after programmed by EPM900. I was so confused with this....
#4
LPC9xx/LPC9xxx / P89LPC932 clock & CRC problem
February 22, 2005, 10:56:37 PM
My MCU has mounted on PCB and a 12MHz crystal was connected as system clock.
The program has been download into MCU by parallel progrtammer.
Device configuration was defined in START900.A51 provided by Keil uVision and has been built with user application.
Next, connected  the MCU with MCB900. There was no other power added to the PCB during this operation.
When I executed Flashmagic, MCU can be found.
Functions in ISP menu such as blank check, security bits are all available.
Device configuration was conform to the settings in START900.A51, too.
Then I programmed the same Hex file by using ISP method, the error message "Unable to communicate" always appeared when programming to flash block 3.
If I modified the device configuration in ISP menu to "Internal RC Oscillator"
as the chip default setting, the ISP would finished.
Checking the device information after ISP again, the flash rom was wirtten,
the security bits and device configuration were identicai to the setting in START900.A51.
However, the application loaded by ISP cannot work normally in MCU, while it could work successfully by paralled programming.
So, why the ISP will halt during memory writting if using cryatal as clock?
Beside, why the application can't work if it is loaded by ISP?
I want to use CRC to check the code loaded to MCU by ISP. How to do that?
When I programmed the Hex file, the "Generate checksums" option in section 4 was checked.
After programming, selected the "Cyclic Redundancy Check" function and compared the device CRC value of each memory block with HEX file, the result are different....(the device CRC value of block 0~5 are all 0x00000002).
How to solve the problem?
#5
LPC9xx/LPC9xxx / Re: Trying ISP with FM & MCB900
December 08, 2004, 06:15:16 PM
Thanks Andy!
I found the reason why the ISP equipment failed to connect.
You were right that my program didn't run because of circuit problrm about oscillator.



Post Edited (12-08-04 19:18)
#6
LPC9xx/LPC9xxx / Trying ISP with FM & MCB900
December 05, 2004, 07:24:59 PM
Hi, I tried LPC932 ISP by using FlasgMagic + MCB900 and still felt frustrated...
Could somebody help me?

Some settings and information of my operation are listed below:
1. The LPC932 device I use is Ver. G
2. I chose hardware activation to enter ISP mode and set jumpers of MCB900 as : RUN=OFF, RESET=ON, AV=OFF (my MCB900 is Vers. 4).
3."Use DTR and RTS to enter ISP mode" option  was chosen in Flashmagic.

If I install a new chip(not programmed before) in the socket of MCB900,  FlashMagic showed normal connection message and baudrate was 9600.
But after I programmed user code into the same chip, an "unable to connect to the device" message showed. Remove then add the power again to MCB900 was no effect, "reset the hardware into ISP mode" was not successful.
What settings should be changed if I want to ISP a programmed device ?
I had chosen the "protect ISP code" option in FlashMagic. The user code seemed to have nothing to do with the Pulse on RST method.Did jumpers of MCB900 still keep unchanged?