1
NXPTM LPC2XXX and LPC17XX / LPC23XX For Olimex Problem
« on: January 25, 2008, 01:06:13 AM »
When I try to FTP CI_O_Olimex.htm using DOS FTP the simulator hangs at a trap in LPC23XXSIM.c:
==========================================
if (iOldLineBlank == 0) { // check that we only write 1 to non-blank lines
iLineLength = 0;
while (iLineLength < FLASH_LINE_SIZE) {
if (ucNewLine[iLineLength++] != 0xff) {
*(unsigned char *)0 = 0; // writing non- '1' to a non-blank line - signal so that this can be corrected
}
}
}
========================================
in LPC23XXSIM.c. At that point ucNewLine is:
ucNewLine 0x02b6f4a0 "><meta http-equiÌÌÌÌÌÌÌÌ><meta http-equiÌÌÌÌÌÌÌÌ"
Any ideas.
Thanks,
Dave Sidlauskas
==========================================
if (iOldLineBlank == 0) { // check that we only write 1 to non-blank lines
iLineLength = 0;
while (iLineLength < FLASH_LINE_SIZE) {
if (ucNewLine[iLineLength++] != 0xff) {
*(unsigned char *)0 = 0; // writing non- '1' to a non-blank line - signal so that this can be corrected
}
}
}
========================================
in LPC23XXSIM.c. At that point ucNewLine is:
ucNewLine 0x02b6f4a0 "><meta http-equiÌÌÌÌÌÌÌÌ><meta http-equiÌÌÌÌÌÌÌÌ"
Any ideas.
Thanks,
Dave Sidlauskas