3 Replies Latest reply on Jun 20, 2012 8:07 PM by kartik.mankad

    Get the SiliconID and SiliconRev for the PSoC3

    kartik.mankad

      So I'm working on some bootloaders,and I'd like to know how I can pull the chip's SiliconID and SiliconRev(to check the validity of the incoming bootloadable with respect to the chip.)

         

      I dug through some code and found some registers that seem to be holding these values.

         

      if(CYSWAP_ENDIAN32(CYDEV_CHIP_JTAG_ID)==siliconID && CYDEV_CHIP_REV_EXPECT==siliconRev){
      //Okay,lets carry on.
      }else{
      //Sorry,something aint right.
      }

         

       

         

      So I have 2 questions:

         

      1.Will this code do what I want it to?..or have I misunderstood it?

         

      2.Where is the register map for PSoC3? I didnt seem to find it in the TRM.

         

       

         

      PSoC Rocks.

         

       

         

      Regards,

         

      kmmankad