This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Banking code does not work !

I'm a user of a TP2808 MCU(128K Flash Rom),so I need to bank my code to 2.

For cost considering,I want to change my MCU with a cheaper one,STK6012(128K Flash Rom),which has the same pin difination with TP2808.I modified L51_bank.a51 for STK6012,and included it.

Why my code does not work !!

Steven Young

Parents
  • "the code runs well"

    You mean you haven't seen it fail yet!

    That's the thing about Warnings - they tell you that there's something dodgy about your code. It may well appear to be all fine - until one day it hits the particular circumstances where that dodginess bites you.

    eg, if the bug affects your leap-year handling, it could appear to "run well" for a whole four years before the bug shows up...!

Reply
  • "the code runs well"

    You mean you haven't seen it fail yet!

    That's the thing about Warnings - they tell you that there's something dodgy about your code. It may well appear to be all fine - until one day it hits the particular circumstances where that dodginess bites you.

    eg, if the bug affects your leap-year handling, it could appear to "run well" for a whole four years before the bug shows up...!

Children