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.

Messages - Ingo

Pages: [1] 2
Old Topics / rx2iap.lib
« on: September 22, 2004, 05:30:29 am »
Can I use this lib on 89c664?


Old Topics / Re: 669iaplib
« on: July 14, 2004, 12:34:22 am »
The testprogram is from you, and it's include the function
"iap_erase_block" .

The testprogram have the stack point at 0x21 and it works.

After I changed the stack to point at 0x5b insteed of 0x49 in my program, it works.

So there must be some stack problems with 669.


Old Topics / Re: 669iaplib
« on: July 13, 2004, 02:31:03 am »
I found this on philps forum
"Posted: Wed Dec 17, 2003 10:45 pm    Post subject:    

I've had a similar problem with IAP when going to the new version of P89C51RC chips. I could not write new code unless the stack pointer was not set to be between 4Ah and 51h. Philips has not been able to verify this as a problem or tell me what i'm doing wrong.
I changed my program so that the stack start at 0x5B, and now it works.

Old Topics / Re: 669iaplib
« on: July 13, 2004, 12:45:28 am »
The testprogram "k669IAPLIBExample" runs in ROM HUGE and LARGE.
But in my application the function "iap_erase_block(x) allways make the
processor to reset/start over from PC 0000.

Is there any change to get a copy of the soft that's behind the IAP?

Couldt it be a STACK problem? intern/extern RAM?

Old Topics / Re: 669iaplib
« on: July 12, 2004, 12:24:38 am »
And it also run as Large 64K program with my changes

Old Topics / Re: 669iaplib
« on: July 09, 2004, 01:46:35 am »

I do have some problem with the function "erase_block".
   put_message("669 IAP Test\r\n");   
  sprintf(Modemstring,"Manufacturer ID = %2.2bX\r\n", iap_read_manufacturer_id());
  sprintf(Modemstring,"Device ID 1 = %2.2bX\r\n", iap_read_device_id(1));
  sprintf(Modemstring,"Device ID 2 = %2.2bX\r\n", iap_read_device_id(2));
  sprintf(Modemstring,"Security bits = %2.2bX\r\n", iap_read_security_bits());

  sprintf(Modemstring,"0x00d000 contains %2.2bX\r\n", iap_read_data_byte(0xd000, 0x00));
  if (!iap_program_data_byte(0x55, 0xd000, 0x00))
    sprintf(Modemstring,"0x00d000 programmed to 0x55 ok\r\n");
    sprintf(Modemstring,"Error programming 0x00d000 to 0x55\r\n");

  sprintf(Modemstring,"0x00d000 contains %2.2bX\r\n", iap_read_data_byte(0xd000, 0x00));

  if (!iap_erase_block(BLOCK_6))
    sprintf(Modemstring,"Block 6 erased\r\n");
    sprintf(Modemstring,"Error erasing block 6\r\n");

The code runs to   "if (!iap_erase_block(BLOCK_6))" and then the processor reset.
And I have no watchdog running. so what is wrong any idea?

I have all the security bits to 0.
By the way, where can I get information about the purpose for each security bit?

Old Topics / Re: 669iaplib
« on: July 09, 2004, 01:03:29 am »

?PR?iap_read_manufacturer_id?P669IAPLIB      SEGMENT ECODE INSEG
?PR?iap_read_manufacturer_id?P669IAPLIB      SEGMENT CODE INSEG

Is that all ?

Old Topics / 669iaplib
« on: July 08, 2004, 08:35:57 am »
I want to use the 669iaplib, but not as HUGE ROM model.
Is there anything else to change, or just ERET to RET?

PXA-Gx9 / Re: XA-G49 erase failure
« on: September 19, 2003, 02:22:34 am »
If you need to see what FlashMagic do on our RS232 port,
Use this tool.


Old Topics / Re: Execute Command
« on: September 19, 2003, 02:18:03 am »
Hi Andrew
Looking in the application note AN461_9.


0001 = read signature byte

Old Topics / Re: Intel hex format
« on: September 02, 2003, 01:12:51 am »

Old Topics / Re: See what happens on RS232
« on: July 07, 2003, 01:29:46 am »

If you skip "/Ingo" and only type
then it's still there.


Old Topics / See what happens on RS232
« on: June 26, 2003, 04:13:18 am »
If you need to see what FlashMagic do on our RS232 port,
Use this tool.


Old Topics / 89c664
« on: June 11, 2003, 07:33:25 am »

My problem is that i only have a 4 wire RS232 connection.
Rxd, Txd, GND and RTS.

I try'ed to use DTR and RTS to control RST and PSEN
In my case RTS to control PSEN.
FlashMagic send a 'U' to set up the Baudrate.
My software detect that 'U' echo back 'U.* and then let the "HARDWARE WATCHDOG TIMER (ONE-TIME ENABLED WITH RESET-OUT FOR P89C660/662/664)" make a  reset for me.
This works not so good, about 1 of 5.

At what point will FlashMagic send 'U'. Before RTS or under RTS or after RTS?

So i tried "STARTBOOTROM" insteed, and it works.
But FlashMagic activates RTS when it programming my device, so when it try to restart my software "PSEN" is low and the device will go into "ISP mode" again.

Is this a BUG or is there a way to keep RTS inactive when running STARTBOOTROM?

I want to have both option aviable

Old Topics / Re: reprogram 89c664 with Flash Magic
« on: June 03, 2003, 05:14:14 am »
Hi Valent

Pages: [1] 2