Comments (3)
I never heard about port for LEON 3 so I have to support that it may be incomplete.
Anyway I guess the problem is that the variable ReadyVar is not zero. Per default global variables shall be set to 0 in C90. So ReadyVar per default shall be an array of many queues which are all empty. In your LEON 3 port it seems not to be the case. This may happens when the startup code tries to optimize the startup time and does not set all global variables to zero. Is a common behaviour in embedded ECUs but is not conform to C.
Please do the following, set a break point in main, reset the board and when main is reached check the content of ReadyVar. If is not all 0 values something is wrong during the initialization. :(
from firmware_v1.
Did as you said and indeed I found that the compiler was not to blame for the problem. When execution is stopped exactly at the start of main() the structure is initialized to 0.
Kept digging and found that there was a memory corruption problem very early in the initialization code for my port, a buffer overrun during an interrupt handling routine that was causing parts parts of adjacent data structures to be partially overwritten.
My fault, I'm sorry.
As far a I'm concerned this issue is ready to be closed.
from firmware_v1.
Good to know that you found the solution to the problem. :)
Am 11.10.2016 7:43 PM schrieb "Gerardo Puga" [email protected]:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#446 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG7km6O7lS9_rTi7MMqM5WiH8ve0Zs3qks5qy8q6gaJpZM4KRr53
.
from firmware_v1.
Related Issues (20)
- Make the OIL generator output complaint with make -s
- ethernet lwip (ciaa_nxp): blinking example does not work with DHCP neither works stable with static ip HOT 1
- makefile en linux, $CPU se superpone con entorno global #environment
- Pointer to lseek is left uninitialized in ciaaSerialDevices_addDriver() HOT 3
- example blinking_multicore not working HOT 5
- NXPs: ciaaDriverDio.c differs for cortexM4 and cortexM4 HOT 3
- NXPs: ciaaDriverDio.c differs for cortexM0 and cortexM4
- buffer overflow when reading/writing the digital outputs with EDU-CIAA-NXP board.
- definitive implementation for semaphores and sleep
- Posix ciaaSerialDevices NXP UART write output not evaluated HOT 8
- ciaaPOSIX_write() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 6
- ciaaPOSIX_read() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 2
- ciaa-nxp, edu-ciaa-nxp SetEvent From ISR2 + WaitEvent from FULL preemptive task stops the system HOT 6
- The function IntSecure_End() must be called inside JmpTask and CallTask(), after finalizing safe executions HOT 1
- Problemas en arranque cuando se usa el oscilador a XT (CIAA NXP y EDU CIAA NXP)
- [PR] ciaa_nxp: blinking_echo example does not build HOT 9
- The rtos submodule needs updating to current Firmware.modules.rtos master
- CPU/CPUTYPE mixup in rtos generator code HOT 4
- ISSUE WHILE GENERATING make HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware_v1.