Error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

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.

0 Likes
15 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Please take a look into the ADC-datasheet to see that ADC_IsEndConversion() expects a parameter named RetMode.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thank you Bob.

   

"arm-none-eabi-gcc.exe"" failed with exit code '1'  how to overcome from this error ??

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

That is the general errormessage telling you that the compilation was not successful. It will go away when you correct all other errors.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Yup....Errors gone:)

   

Thank you  Bob..

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You are always welcome!

   

 

   

Bob

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello,

   

        I build my project without any errors and i sucessfully programed the PSoC 5 but i am unable to run  the program ,the ""current line"" is always stying in the same position.

   

the details of call stack is shown in pic..

   

Please help me out of this ..

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

i am unable to run my program .....when i run the program it is showing the "Disassembly"window shown in pic .

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

Hello Bob,

   

                  In my Project i didn't used any interrupts,but it is showing that error. Please provide some solutions regarding this.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hello,

   

         I gote a "Note" after building the project, i showed in the Pic .

   

        May i know how to fix that note

0 Likes
Anonymous
Not applicable

Please give some solutions regarding my previous post;

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

If a clean and rebuild does not fix issue, you mighty consider posting a

   

tech case at (this may be a bug in editor) -

   

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a Case”

   

 

   

Regards, Dana.

   

0 Likes