Logomatic V1.0 with CROSWORKS 1.7

Hi,

I bought Logomatic V1.0 from SPARKFUN. They work fine. I downloaded the source code of it which they provide in theirr website since I need to add some funcionality to the system.

I am using Flash utility V2.2.3 to download my code to the LPC2138 board. When I download directly the .HEX file that they provide on their website (either LOGOMATIC V02.HEX or LOGOMATICV02_9_21_07.HEX) everyhting works fine. I opened in CROSWORKS 1.7 the source code they provide and it compiled perfectly. However, when I download the .HEX file it generated (LOGOMATICV02.HEX) the system doesn’t work anymore.

This is the situation: I use their source code, I dont modify it, I just build (compile) the code in CROSSWORKS and then download the .HEX file to the board and it doesnt work.

I was wondering if the .HEX files that they provide on the website dont come from the source code available there.

I am compiling my solution in CROSSWORKS as a ARM_FLASH_DEBUG.

Thank you.

hi andres,

do you get some answer to resolve de hanging up of logomatic problem?

my email is : benavides@telemetricva.cl

thanks

Rowley uses several of their own libraries with CrossWorks, although the compiler is gcc. This might be causing the problem.

Leon

Thank you for your answers.

I already solved the problem. I had to set the PREPROCESSOR DEFINITIONS property (in the project properties window) to STARTUP_FROM_RESET value:

‘Preprocessor Definitions’: STARTUP_FROM_RESET

It seems the microncontroller was getting stuck since it did not know where to start running the code.

After that, everything worked fine.

Thanks.