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

Topics - Embedded-Systems-Designer

#1
LPC2xxx / UUencoding question
January 23, 2007, 08:49:33 AM
First, I'd like to say that Flash Magic is a great piece of software and incredibly usefull.

I am working on a project with the LPC2134 and I have a couple of questions regarding the UUEncoding protocol used by Flash Magic.  When I attempt to decode a line it looks as though the decoded line doesn't match the expected data.

The first 45 bytes of my hex file are:

0228BE7B FE7A0079 00222202 19DC7F00
7E407D01 7C00124C A7BF5503 024CAB12
4CAE2202 2C57D218 7F02124A F1

During a programming operation, Flash Magic sends the following UUEncoded line:

M`BB^>_YZ`'D`(B("&=Q_`'Y`?0'`$B'QI[]5`P),JQ),KB("+%%?2&'\"$DKQ

My first observation is that the length of the line is 62 bytes and LPC datasheets recommend no more than 61 bytes.  Is this correct?

My second observation is that this line decodes into the following 45 bytes:

0228BE7B FE7A0079 00222202 19DC7F00
7E407D01 C01221F1 A7BF5503 024CAB12
4CAE2202 2C515F48 61FC0849 2B

Am I decoding this incorrectly?  Is this the standard decoding scheme?

Any help you could give would be greatly appreciated.

John
#2
P89V51Rx2/P89LV51Rx2 / 89V51RD2 ISP Command Unknown
November 03, 2006, 07:58:37 AM
Hello!

I'm working on a project using the 89V51RD2 chip from Philips.  I noticed that Flash Magic provides an option for this chip called "Device Configuration" under the ISP menu.  It looks like it would allow the chip to enter ISP in several different ways, not just via autobaud detect after reset.

This command is very appealing to me, but I can't get it to work.  I used a port monitor to see that the ISP intel hex record command number was 0x0C.  There is no documentation for this command in the 89V51RD2 datasheet.

Could someone tell me where I can find documentation for this command?

John



Post Edited (11-03-06 14:05)