element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Forum Keil uVision and PSoC5LP
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 3 subscribers
  • Views 3191 views
  • Users 0 members are here
  • smarter_life_challenge
  • jtag
  • uvision
  • keil
  • smarter_life
  • creator
  • reflow_oven
  • psoc
Related

Keil uVision and PSoC5LP

Kilohercas
Kilohercas over 11 years ago

Hello,
since i destroyed PSoC4 dev kit, i need to be able program my GUI controller as well as 6000lm PSoC4 controller with Keil.

So far so good, i was able to install keil, export project from PSoC creator to keil uvision, but i can't programm it. ( i attached my project, maybe some one  you can spot potential problem ? )
When i try to flash program, it says :

 

Contents mismatch at: 80000000H !

Verify Failed!

Error: Flash Download failed  -  "Cortex-M3"

i flowed all steps from Third-Party Tools User Guide.pdf, but i get same errors and code is not running.

 

if i disable verify option, i get it program, but no activity on led image

Attachments:
CY8C5868LTI-LP039.rar
imageThird-Party Tools User Guide.pdf
  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 11 years ago +1
    Well,I re-targeted the design for a CY8C5868AXI-LP035 part (because that's what I have on my board), picked a pin with an LED on it, rebuilt, and exported to uVision. Then I opened the project in uVision…
  • Former Member
    Former Member over 11 years ago in reply to Kilohercas +1
    Sounds like it just needed a little kick! I want to make sure you are really working. You have already spent too long on this! Can you try the attached project on your kit for me? The LED should glow quite…
  • Former Member
    Former Member over 11 years ago in reply to Kilohercas

    Sounds like it just needed a little kick!

     

    I want to make sure you are really working. You have already spent too long on this! Can you try the attached project on your kit for me?

     

    The LED should glow quite dimly because I am driving with a small duty cycle from a PWM. If you step through the code in main() you should see the LED turn on quite brightly (50%) and then go dim when I reduce the compare value for the PWM.

     

    -- Mark.

    Attachments:
    Design01.cydsn.zip
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Kilohercas
    Kilohercas over 11 years ago in reply to Former Member

    what is pin number for this project, can't found it in uVision ( i mean, don't know where to looks, in PSoC creator is very easy to see in )
    LED on my board is P1[2],
    ok, i found, is P0[0], and it was connected to 2.2uF Low pass filter capacitor image
    anyway, recompiled to get it working on P1[2] and yes, i have low duty cycle square wave

    image

    It is good to get stuff not working, so you can debug and learn how to deal with problems. But after some time problem should go away, and this is the case for me.
    Now i can start to work on my project image

     

    lets make it more fun :

     

    void delay(int g)

    {

        while(g>1)

        {

            g--;

        }

    }

    int a;

    int main()

    {

        PWM_1_Start();

         PWM_1_WriteCompare( 15 ); 

         a=0;

        for(;;)

        {

                while(a<254)

                {

                    a++;

                    delay(0xFFF);

                    PWM_1_WriteCompare( a );

                }

                while(a>1)

                {

                    a--;

                    delay(0xFFF);

                    PWM_1_WriteCompare( a );

                }         

        }

    }

    and if i try to compile it and download code to flash, i get pulsing led , what a surprise image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Kilohercas

    Yes,P0[0]. I thought that would be OK. Can you see that one? I can remake it you need me to.

     

    -- Mark.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kilohercas
    Kilohercas over 11 years ago in reply to Former Member

    no need to do that, it is working just fine now . Thank you very much for help and support

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to Kilohercas

    No problem.It's good to hear we got it working. I think it might have been a USB port hang-up.

     

    Hope the project goes well from now on. Post a picture up when you're done!

     

    -- Mark.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube