Menu

.hex file name changes in ArduinoIDE 1.6.8

2016-05-03
2018-12-31
  • Mark Panther

    Mark Panther - 2016-05-03

    Great work on the project.

    (May have occured before 1.6.8 but I went from an early version to 1.6.8.)
    File names have changed from .CPP.hex to .INO.hex , if you namechange from INO to CPP the hex file works otherwise simulIDE ignores it.
    They have also adden another file , *.ino.with_bootloader.hex .

    Also - maybe it's just my computer - the Build directories in the user/.../temp directory are now deleted when I quit arduinoIDE, the older ones are still there.

    Also - Scroll Bars would be great, centering components with zooming works but for me takes longer and is less acurate.

    Keep up the good work.

     

    Last edit: Mark Panther 2016-05-03
  • Santiago

    Santiago - 2016-05-05

    Hi Mark. Thanks for the feedback.
    Im out for a few weeks, so i cant do very much now. But ill have a look when im at home.

    In theory any filename ending in .hex is valid. i had some issues with long path names, i have to solve this and have a look to what you say.

    About scrolling and just in case you dont already know: You can press shift-key, then left-click and move mouse. Thats like grabbing circuit canvas and moving it.
    I try to keep it as simple as posible. And perhaps this way is faster and easier than moving to V-scrollbar then to H-scrollbar.
    Here is some info about using simulide:
    https://sourceforge.net/p/simulide/wiki/Home/

    Any Feedback is always apreciated, and sorrry for the delay.

     

    Last edit: Santiago 2016-05-05
  • Santiago

    Santiago - 2016-05-09

    Hi again.
    I tried a simple blink led with Arduino_ide-1.6.8 and the file _.ino.hex works ok in SimulIDE_0.0.2 Linux32.

     
  • Anonymous

    Anonymous - 2018-10-21

    Hi, Maybe you can help. Relating to the change from cpp.hex to ino.hex files: I am having trouble compiling and running programs for Arduino. While compiling in the Arduino IDE (blink|Arduino 2:1.05 + dfsg2-4) verbose output shows a blink.cpp.hex file is produced, but on uploading from SimulIDE editor I get "The file "/home/david/.local/share/SimulIDE_0.2.9/codeeditor/buildIno/blink.ino.hex" was not found." I have Arduino 1.8.7 installed on Linux.
    Where is the incompatibility and how do I address it? Manually renaming files and moving them to the search address works but I am sure there is a more permanent fix.
    Regards,
    Dave

     
  • Santiago

    Santiago - 2018-10-21

    Hi.
    I don't understand what are you exactly doing.
    You talk about compiling in Arduino IDE and upload in simulide editor?.

    Ussually you compile and upload in simulide:
    Open blink.ino file in simulide editor.
    Click "Compile" button, you will get "~/.local/share/SimulIDE_0.2.9/codeeditor/buildIno/blink.ino.hex"
    Click "Upload" button and hex file will be loaded to an Arduino in the circuit.

    If you compile in Arduino IDE you can upload in simulide directly from the circuit:
    Right-click on the Arduino.
    Select "Load firmware".
    Then select the hex file you want to load.

    But you can't compile in Arduino IDE and upload in simulide editor.

    Is there something i'm missing?

     

    Last edit: Santiago 2018-10-21
  • Anonymous

    Anonymous - 2018-10-22

    Hi,
    Maybe I am being misled by the fact that when I hit the compile button in SimulIDE, the ArduinoIDE opens on screen with the blink file in it. This made me think I had to compile in ArduinoIDE and then close Arduino IDE and then upload from SimulIDE. At this point the above error occurs. Also while the ArduinoIDE screen is displayed, the busy icon is displayed by SimulIDE.
    Dave

     
  • Anonymous

    Anonymous - 2018-10-22

    Hi again, Just to fill you in, I was a bit hazy about specifying the Compiler Toolpath. I have set /usr/share/arduino/hardware/tools/avr/bin/X11/X11/ which was the only way I could get Compiler Not found errors to go away. Maybe a different path is required. Can you suggest one?
    Dave

     
  • Santiago

    Santiago - 2018-10-22

    OK, now i understand the problem.
    Arduino IDE shouldn't open.

    About the compiler path it is the path to folder containing compiler executable, in this case to Arduino executable.

    Are you using Arduino in your distro repos or you downloade it?

    I remember i had problems with Arduino in Ubuntu repos.
    Only worked if i download from Arduino website at set the compiler path to that floder.

     
  • Anonymous

    Anonymous - 2018-10-22

    Santiago,
    Thanks for your help. Setting the compiler to the Arduino executable folder worked. The ArduinoIDE did not open in a window and log showed .ino.hex file was produced. Upload from SimilIDE worked first time and blink ran fine.

    I installed Arduino from a download which contained an install.sh program which I ran.

    I am happy.

    Thanks very much for your prompt responses and good luck.

    Dave

     
  • Anonymous

    Anonymous - 2018-10-24

    Hi again,
    During compilation of Arduino file I am getting this:

    Exec: /home/david/Documents/arduino-1.8.7/arduino -v --board arduino:avr:uno --pref build.path=/home/david/.local/share/Link to SimulIDE_0.2.9/codeeditor/buildIno --preserve-temp-files --verify /home/david/.local/share/Link to SimulIDE_0.2.9/codeeditor/buildIno/Blink/Blink.ino

    Picked up JAVA_TOOL_OPTIONS:
    Error: Must specify exactly one sketch file

     ERROR!!! Compilation Faliled
    
     I am not sure if the compiler is finding more or less than one sketch but I suspect more than one.
    
     If I delete the Simulide Directory and the Simuide in .local/share and re-install Simulide, the compiler works until I close the program. After a restart I get the above problem.
     Any ideas?
    
     Dave
    
     
  • Anonymous

    Anonymous - 2018-10-25

    Hi Further to the problem of the compiler not finding exactly one sketch:
    I created a link to the SimulIDE executable to put on my desktop and the problem seems to arise when I use the link. If I run the program directly without using the link the problem does not occur. So maybe that one is solved. Sorry to be an inconvenience.
    Dave

     
  • Santiago

    Santiago - 2018-10-25

    Glad you solved the issue.

    Anyway you found a problem: ~/.local/share/Link to SimulIDE_0.2.9 sholdn't be created.

     
    • Josep Mª

      Josep Mª - 2018-12-31

      Perhaps it has been said, or it's in the documentation, but I’ve found that if you’ve more than one .INO file in a folder (i.e you’re trying different programs) the compiler send an error:

      C:\Users\Administrador\AppData\Local\SimulIDE_0\codeeditor\buildIno\Blink_intern\Blink_intern.ino:7:6: note: 'void loop()' previously defined here

      If you delete the file/s and only have one .INO in the folder the compil works Ok again

      A workaround is putting the various .INO files in an individual folders each; it’s like the Arduino IDE compiler, when you save a file it creates a folder with the same name on you’re saving the file

       

      Last edit: Josep Mª 2018-12-31
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.