Hi,
we used embOS 3.32a in former projects some years ago. In a current project we use the same processor (Atmel AT91SAM7A3) we did in the mentioned project years ago.
Since it is a small project we wanted to reuse some of the existing parts and the OS. We took some old code(C) and wrote new C++ code. Everything worked well until our final hardware arrived and we wanted to test the application running out of flash memory. The application didn't start. After some research and investigation we found the problem which occurs even in the sample application (LED toggle) shipped with the OS. We are using IAR Embedded Workbench 4.40A. If we compile the sample project with one of the c++ compiler settings (embedded c++/extended embedded cpp) it runs right after downloading thru the j-link debugger. The problem occurs when we power don/reset the board. The application doesn't start out of flash after a power up/reset. If we compile it using the c compiler it starts without any problem, right after downloading and after power up as well.
Are there any know issues with these (old) versions or settings which have to be applied?
Best
Marcel
we used embOS 3.32a in former projects some years ago. In a current project we use the same processor (Atmel AT91SAM7A3) we did in the mentioned project years ago.
Since it is a small project we wanted to reuse some of the existing parts and the OS. We took some old code(C) and wrote new C++ code. Everything worked well until our final hardware arrived and we wanted to test the application running out of flash memory. The application didn't start. After some research and investigation we found the problem which occurs even in the sample application (LED toggle) shipped with the OS. We are using IAR Embedded Workbench 4.40A. If we compile the sample project with one of the c++ compiler settings (embedded c++/extended embedded cpp) it runs right after downloading thru the j-link debugger. The problem occurs when we power don/reset the board. The application doesn't start out of flash after a power up/reset. If we compile it using the c compiler it starts without any problem, right after downloading and after power up as well.
Are there any know issues with these (old) versions or settings which have to be applied?
Best
Marcel