+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Full Member level 1
    Points: 2,380, Level: 11
    Achievements:
    7 years registered

    Join Date
    Apr 2009
    Location
    Montagram
    Posts
    102
    Helped
    1 / 1
    Points
    2,380
    Level
    11

    SPC5 studio programming problem

    Hello. I'm working with SPC560 series MCU from ST company and SPC5 studio compiler. for getting started, I'm working on a simple LED blinking program but when I program my hex file to MCU, the MCU takes high current and damaging (about 300mA).
    working with SPC5 Studio is hard and complex because work on Eclipse platform. if you know any other compiler that supports this series of MCU please help me.

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 75,534, Level: 67
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,313
    Helped
    3487 / 3487
    Points
    75,534
    Level
    67

    Re: SPC5 studio programming problem

    Hi,

    I don't think it's a compiler problem when the microcontroller takes 300 mA.

    I rather think there is a hardware problem.

    Klaus

    If you need further help, show your code and hardware.
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisement

        
       

  3. #3
    Full Member level 1
    Points: 2,380, Level: 11
    Achievements:
    7 years registered

    Join Date
    Apr 2009
    Location
    Montagram
    Posts
    102
    Helped
    1 / 1
    Points
    2,380
    Level
    11

    Re: SPC5 studio programming problem

    Quote Originally Posted by KlausST View Post
    Hi,

    I don't think it's a compiler problem when the microcontroller takes 300 mA.

    I rather think there is a hardware problem.

    Klaus

    If you need further help, show your code and hardware.
    I checked this on two correct board that with erasing the MCU, the current go down but after programming it, the current go up!
    I written the code with SPC5 studio that have a poor support and based on Eclipse. this compiler have some ready component that I don't see the generated codes and only can edit main.c . in this compiler there is a graphical pinmap editor and clock editor and each function of MCU have ready library, so copying my main.c code will not help you. may be there is a bug in libraries.



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 75,534, Level: 67
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,313
    Helped
    3487 / 3487
    Points
    75,534
    Level
    67

    Re: SPC5 studio programming problem

    Hi,

    I checked this on two correct board that with erasing the MCU, the current go down but after programming it, the current go up!
    I written the code with SPC5 studio that have a poor support and based on Eclipse. this compiler have some ready component that I don't see the generated codes and only can edit main.c . in this compiler there is a graphical pinmap editor and clock editor and each function of MCU have ready library, so copying my main.c code will not help you. may be there is a bug in libraries.
    All this text is useless as long as you don't show code and schematic...

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



--[[ ]]--