PSoC >> PSoC Mixed-Signal Array

Pages: 1
alager
Tester - PRO for PSoC


Reged: Aug 02 2007
Posts: 47
flash routine returning incorrect value?
      #56192 - Thu May 15 2008 04:54 PM

* The return value from both routines is 0 for success, 1 for failure.

Watching the emulator, the flash appears to get updated correctly, but the write routine always returns 1.

Aaron


Post Extras: Print Post   Remind Me!   Notify Moderator  
clydeAdministrator
HI-TECH team member
*****

Reged: Oct 16 2003
Posts: 656
Re: flash routine returning incorrect value? [Re: alager]
      #56212 - Thu May 15 2008 05:17 PM

Are you quoting from something we wrote? Anyway, it's wrong. The return value is 1 (TRUE) for success, 0 (FALSE) for failure.

Clyde


Post Extras: Print Post   Remind Me!   Notify Moderator  
alager
Tester - PRO for PSoC


Reged: Aug 02 2007
Posts: 47
Re: flash routine returning incorrect value? [Re: clyde]
      #56222 - Thu May 15 2008 05:54 PM

Yes, this is a quote from flash.c

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
1 registered and 1 anonymous users are browsing this forum.

Moderator:  ndouglas, Dan Henry, jtemples, jeff, Andrew L, mikerj, dave g, meisty, josh stevo 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Topic views: 760

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5