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 - Je Gold

#1
For LPC900 devices  my guess it's ICP.....as I think ICP is the lowest hardware level of programming (using MODE 0 of the UART).

Joe
#2
LPC2xxx / Re: General question
July 17, 2009, 04:21:30 AM
If you PC's at either end ....then you could run VNC.

Joe
#3
Hi  Andy,

Once a LPC900 has just entered the bootloader ISP mode...

a)  What's the best  Flashmagic command to confirm the LPC900 is in ISP mode?

b) Can I use the flashmagic terminal program to watch for serial  key stroke echos from the UART of the LPC900 to prove it's in ISP mode?

Thanks in Advance.

Joe
#4
Many thanks
#5
LPC9xx/LPC9xxx / ISP Command to Reset the LPC935
July 07, 2009, 06:02:56 AM
Hi Andy,

After reading the LPC935 User Manual  I notice there is a ISP command to reset the MCU...  does flashmagic send this as the last command after programming?

Does flashmagic have the ability to send ISP REST MCU command while MCU is in ISP mode?

Thanks

Joe
#6
Automotive is one of the most toughest electrical  environments , transients and under voltages and over voltages cause all sorts of problems.

It could be possible that you are exceeding the manufacturers  Specifications on the LPC2366... 

Can makers have very tough specifications for their electrical and electronic modules.. does your design using the LPC2366 meet or adopt any of these automotive specifications?

Joe
#7
Yes,  I agree,   Get a ISP-to-ICP  programming tool like the Team FDI   LPC900 programmer.

If this is your first project with  the NXP LPC900  80c51 core, then best to get some programming tools as the problem will be....  knowing weather the fault is ;

a) Hardware design b) programming circuit design  ISP-to-ICP  c) LPC901 programming the code.

I again strongly recommend a working programming tools. This forum has many posts from designers... saying....
"I cant get the programming to work  when I use my own hardware" !


FYI  - There is a tight 50uS pulse requirement to put the LPC900 in to either ICP or ISP programming mode,  as well as POR and Vdd rise time requirements.  AN10258 has issues.... see my Flashmagic article here http://www.flashmagictool.com/resources.html  (check all the resources on ICP).

Here is the affordable Team FDI programmer dongle and programmer
http://www.teamfdi.com/pages/products_index.html
http://www.teamfdi.com/pages/products_index.html

If this is your first NXP LPC900 experience .... then I recommend the Keil  MCB900 development kit
see here http://www.keil.com/mcb900/  and available  here  www.LPCtools.com and elsewhere
(you can get the schematic here  http://www.keil.com/mcb900/mcb900-schematics.pdf)

Again I warn you of the issues you will have doing your own ICP....  The ICP protocol and standard can be downloaded from the
Yahoo LPC900  group... in the files section here http://tech.groups.yahoo.com/group/lpc900_users/

Joe

#8
Thanks Andy,   It's working now.... the  2's compliment checksum was required.

Regards
Joe
#9
LPC9xx/LPC9xxx / very quite here
March 03, 2009, 01:06:12 AM
very quite
#10
LPC2xxx / OT Emulating flashmaigc with another micro
February 23, 2009, 04:24:12 AM
Hi,

I have an LPC2148 connect to large controller (LC) micro... To program the LPC2148,  it is program via serial ISP similar to Flashmagic.  The LC micro has all the hardware that flashmagic uses to put the LPC2148 in to ISP mode.

We have most of the ISP serial commands down... and can inspect the flash of the LPC2148 with a debugger to see the flash is programmed but the GO 0x0000 0000, or a reset does not execute the LPC2148 flash programmed code.

What other commands are needed .... is the 2's compliment programmed in to 0x0000 0014  calculted by flash magic?

The USER manual Says

"Criterion for valid user code: The reserved ARM interrupt vector location (0x0000 0014)
should contain the 2's complement of the check-sum of the remaining interrupt vectors."

Thanks in advance
Joe
#11
LPC9xx/LPC9xxx / Re: Code Read Protection LPC932A1
February 04, 2009, 01:06:55 AM
My understanding is after programming a part via ICP or ISP or Parallel Programming or using a Universal device programmer - there is no method to read out the programmed flash code... except you can verify  checksum against what's programmed in the LPC932A1.

When executing code - you can write a program to  spit out the bytes via the serial port after configuring the the LPC932A1, to allow DPTR to access the code area.
==>  BUT  ==> The program would have to have been written and programmed in to the LPC932A1 already.

Joe
#12
LPC9xx/LPC9xxx / Re: ISP to ICP schematic
January 24, 2009, 05:57:56 AM
1. The original ICP--> ISP  Bridge schematics have flaws  ... see the resources pages of the flashmagic web site.

2. For on going profesional development where... time is money... it might be better purchasing a profesional ICP programmers - such as the TEAM FDI one.

Joe
#13
LPC2xxx / Re: hardware for flash magic
January 15, 2009, 05:30:34 AM
Run flashmagic  --> CLick Help --> Click manual   --> read Page 46. and see attached

Look at keil reference design schematic also  here
http://www.keil.com/mcb2300/mcb2300-schematics.pdf

Read  Section in NXP LPC2387  User Manual on BOOTLOADER

Joe

Also be aware that some of the JTAG pin effect operation on POR (Power On Reset).
#14
LPC9xx/LPC9xxx / Re: Programming the 89LPC935
December 10, 2008, 05:11:56 AM
The safest and quickest way is to purchase a Keil MCB900 development kit....   It's ready to go!

See the kit here
http://www.keil.com/mcb900/

See the schematic here
http://www.keil.com/mcb900/mcb900-schematics.pdf

Purchase from here (and other places)
www.lpctools.com

Because you are a beginner... then I strongly suggest you purchase the MCB900 kit......  Otherwise you will spend weeks/months  trying to get the P89LPC935 in to programming mode so it can be programmed by Flashmagic.

Once you get familiar with the MCB900 kit and how to program the P89LPC935.... then move on to the hardware (study the MCB900 schematic,  Study the Flashmagic manual).

TRICK for putting the P89LPC935 in to programming mode  -------  immediately (within 50uS) after the P89LPC935 is powered up... 3 x 50uS logic pulses  must be given to the RESET pin of P89LPC935........ The MCB900 has a circuit to do this!

Hence study the MCB900 1st !

Only then if you have trouble come back to this forum.....

Joe
#15
LPC9xx/LPC9xxx / P89LPC925 Bootloader Code
November 23, 2008, 10:04:06 AM
Hi ,

(I am trying also through NXP channels out this is slow and hoping some else has the hex file)

PLAN A,
I am looking for the a hex file of the bootloader code that sits at the top of flash for the P89LPC925

Any ideas were to obtain it?

PLAN B,

Would some with a Keil Complier/Assembler -  Assemble  the bootloader and email it to me, as I don't have Keil.

see attached

my  email address is   joe DOT g   @   optusnet DOT com DOT au


Joe