- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to use TIMER0 of the FX2LP18.
I follow the code available in https://www.cypress.com/file/134421/download
I've adapted it cause i'm using an Eclipse Project and SDCC.
As soon as i add the TIMER0 ISR in my project, no more enumeration 😞
All works fine if i remove it.
Is there any project example using SDCC/Eclipse ?
Or Anyone could check my project ?
Regards
Solved! Go to Solution.
- Tags:
- FXLP18 SDCC TIMER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Here is a thread which discusses your query in detail - https://sourceforge.net/p/sdcc/discussion/1865/thread/6010fcd1/
Please go through the following lines in KBA - https://community.cypress.com/t5/Knowledge-Base-Articles/FX2LP-I2C-Based-Debug-with-SDCC-on-Eclipse-...
"For enabling the general I2C operations, the USBJmpTb.asm file needs to be modified. This is done to hard code the address of I2C ISR since SDCC compiler, by default places the address in an arbitrary location, which will cause issues in the ISR call and the USB enumeration. "
You can also use http://sdcc.sourceforge.net/doc/sdccman.pdf SDCC User guide for your reference as well.
Pranava