EmbeddedRelated.com
The 2024 Embedded Online Conference

Running code from Ethernet and USB RAM

Started by "h.belig" in LPC200015 years ago 11 replies

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for...

Did anybody ever run program code from the ethernet or usb RAM of LPC2468? I am using EA's LPC2486-16 OEM Board and Rowley`s "CrossStudio for ARM". I modified the flash_placement file and created sections for these 2 16KB RAM areas. When I start debugging, I reach the subroutine that is placed in that ram section. I also can do some steps in the routine (assembler instructions), but then I...


Trouble writing to flash on LPC2468

Started by benknnnn in LPC200013 years ago 8 replies

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using...

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using JTAG. By using the default boot loader, we are able to download our .hex file to the device using Flash Magic, and the program will run fine. Interestingly, we can also attach the debugger (CrossStudio) to the device and follow the execution after using Flash...


Using flash mem for data-storrage

Started by "r.jensenm" in LPC200016 years ago 10 replies

Hi, I=B4m trying to use a flash mem section for data storrage and have=20 tried to implement the libmem example included in Crossstudio....

Hi, I=B4m trying to use a flash mem section for data storrage and have=20 tried to implement the libmem example included in Crossstudio. I=20 have tried the code below but it gives me an error message? Does anyone have an example on how to use the flash for data=20 storrage og might can tell me what is wrong wth the code below? Regards Michael ************Std code from cross studio*...


math.h not working in Crossstudio

Started by "r.jensenm" in LPC200015 years ago 4 replies

Hi all, I have tried to use the math function powf but my float var "scale_level" stays zero. I have tried several other math function a...

Hi all, I have tried to use the math function powf but my float var "scale_level" stays zero. I have tried several other math function a get strange results aswell any idea ? part of my code******************** float scale_level, level_inp; level_inp = 100; scale_level = powf(level_inp, 1,20242); *********************************** Regards M ----------------------------------...


Stack size

Started by Jakub Szumacher in LPC200014 years ago 3 replies

In CrossStudio for ARM we have many stacks fields to configure: " Stack Size (fiq mode) Stack Size (irq mode) .... Stack Size (user/system...

In CrossStudio for ARM we have many stacks fields to configure: " Stack Size (fiq mode) Stack Size (irq mode) .... Stack Size (user/system mode) " What is function of anyone of them (where are differences)? I'm trying to use less memory in CPU so i want reduce stack size - how to do it safty? How to check how many amount of memory stack realy needs? How to optymize stack size? ...


CrossStudio and linker script

Started by windam_2000 in LPC200017 years ago 1 reply

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project...

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project Options-> Linker-> Additional Linker Options and filled in the text box: -T .\Flash.ld The linker gave an error: cannot open linker script file .\Flash.ld: No such file or directory So I copied Flash.ld to the subfolder ARM Flash Debug which is i



The 2024 Embedded Online Conference