+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Advanced Member level 5
    Points: 13,876, Level: 28
    nandhu015's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    1,963
    Helped
    299 / 299
    Points
    13,876
    Level
    28
    Blog Entries
    18

    windows programming to create hex for microcontroller

    Hi

    I want to write a windows application that can create hex file for microcontrollers.

    I had seen single exe file that creates hex file for AVR micros, but there is no compilers called.

    Can any body give me an idea how to it is done.

    Any inputs, examples, links will be helpfull.

    I can write programmes for microcontrollers in C

    Nandhu

    •   AltAdvertisement

        
       

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

    Join Date
    Apr 2014
    Posts
    15,759
    Helped
    3590 / 3590
    Points
    77,731
    Level
    67

    Re: windows programming to create hex for microcontroller

    Hi,

    I want to write a windows application that can create hex file for microcontrollers.
    Create hex files... but what is the source?

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



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 81,387, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,344
    Helped
    4455 / 4455
    Points
    81,387
    Level
    69

    Re: windows programming to create hex for microcontroller

    If you want a hex file without a source file, I guess you are asking for a random number generator. Windows is good at generating random output!

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 5
    Points: 13,876, Level: 28
    nandhu015's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    1,963
    Helped
    299 / 299
    Points
    13,876
    Level
    28
    Blog Entries
    18

    Re: windows programming to create hex for microcontroller

    Hex will be based on the windows application. For example the windows application is used to create designs / patterns of led matrix, which should be run from a microcontroller.

    Here is an example (not the same) i want accomplish

    https://www.facebook.com/eXtremeElec...8384989199697/

    Nandhu



  5. #5
    Full Member level 2
    Points: 1,051, Level: 7
    FlyingDutch's Avatar
    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    131
    Helped
    20 / 20
    Points
    1,051
    Level
    7

    Re: windows programming to create hex for microcontroller

    Quote Originally Posted by nandhu015 View Post
    Hex will be based on the windows application. For example the windows application is used to create designs / patterns of led matrix, which should be run from a microcontroller.

    Nandhu
    Hello,

    you can write a program in C for microcontroller(skeleton), and Windows application - code generator (for example in C# using Visual Studio) which generates code also in C for microcontroller.
    You have to invent data structures which can control LED matrix behavior (for example structure in C). Then in windows application (maybe graphical) design these structures and generate C (microcontroller) code. Then paste the generated code to C (microcontroler) program and compile it in one of compilers for micro (this compliler can be for example free "Arduino IDE").
    You can save the generated code in *.h (C header files) and just include these files to your C program for microcontroler.
    This is the only way you can acomplish your assumptions, but it is a challenge (it is complex task).

    Regards
    Last edited by FlyingDutch; 21st May 2019 at 16:31.



--[[ ]]--