- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
When ibuild my project in PSoC 5 I am facing Two ERROR
1) ""arm-none-eabi-gcc.exe"" failed with exit code '1',
2) few arguments to function "ADC_IsEndConversion"
I am Sending a pic related to this error
Please help me out of this.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please take a look into the ADC-datasheet to see that ADC_IsEndConversion() expects a parameter named RetMode.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Bob.
"arm-none-eabi-gcc.exe"" failed with exit code '1' how to overcome from this error ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is the general errormessage telling you that the compilation was not successful. It will go away when you correct all other errors.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yup....Errors gone:)
Thank you Bob..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are always welcome!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your program "hangs" in an internal routine "cs3_isr_usage_fault" which would tell me that something is wrong with interrupts. The small picture lets me assume that you forgot to enable global interrupts before you start your ADC. Please check that.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bob,
In my Project i didn't used any interrupts,but it is showing that error. Please provide some solutions regarding this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already provided the solution: Enable the global interrupts! The ADC is using interrupts internally and refuses to start if they do not work.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way: Although when startind a new project file, the template inserts a commented-out global interrupt enable. I usually uncomment this line because enabled global interrupts do not have (as far as I've seen yet) any negative side-effects.
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please give some solutions regarding my previous post;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to follow the hint given in the note (notes are no warnings) and re-build your project (Clean and build).
Remember that you still have got a warning in your pictured compilation which I would suggest to address first.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If a clean and rebuild does not fix issue, you mighty consider posting a
tech case at (this may be a bug in editor) -
“Support”
“Technical Support”
“Create a Case”
Regards, Dana.