.hex and .bin files - Analog 1
-
- Posts: 8
- Joined: Tue 27. Jun 2017, 14:57
Re: .hex and .bin files - Analog 1
Thank you,
I am working with the examples provided in the Develop area (Variable CAN Queues).
After adding the Source and Header files to the Project and attempting to compile, I am recieving hundreds of very weird compiling errors..
How can this be handled? Many error description say "Syntax error near '/' " so it is hard to say what to fix...
Thanks again,
Dylan
I am working with the examples provided in the Develop area (Variable CAN Queues).
After adding the Source and Header files to the Project and attempting to compile, I am recieving hundreds of very weird compiling errors..
How can this be handled? Many error description say "Syntax error near '/' " so it is hard to say what to fix...
Thanks again,
Dylan
- Attachments
-
- Capture.PNG (73.4 KiB) Viewed 12833 times
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: .hex and .bin files - Analog 1
please use the project files that we provide with the samples - thats why we build them.
works like a charm - hundreds of users have it done this way without any problem.
You also could generate a own project and workspace file from scretch..but then you must know exactly what you do...thinks like this
Code: Select all
MM_Demo.prj
You also could generate a own project and workspace file from scretch..but then you must know exactly what you do...thinks like this
Code: Select all
[CPUTYPE-Release]
CsvFile=Lib\907\907.csv
CpuName=MB90F497
ChgChipInfo-0=5@0x000000:0x000000:0x000000:0x000000:0x000100:0x0008FF
Count=1
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Posts: 8
- Joined: Tue 27. Jun 2017, 14:57
Re: .hex and .bin files - Analog 1
I am getting errors when trying to build the example you mentioned...
Here is the list
Here is the list
- Attachments
-
- Capture1.PNG (48.99 KiB) Viewed 12815 times
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: .hex and .bin files - Analog 1
As you could see, these are warnings - no errors. Your code is generated and could be used.
The warnings come up because our LIBs are RELEASE Libs no DEBUG LIBs.
Simply ignore these warnings - also the W1369 Warnings - they do not care.
The warnings come up because our LIBs are RELEASE Libs no DEBUG LIBs.
Simply ignore these warnings - also the W1369 Warnings - they do not care.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
-
- Posts: 8
- Joined: Tue 27. Jun 2017, 14:57
Re: .hex and .bin files - Analog 1
Thank you for confirming this,
The next step forward is flashing the peak.
It was decided not to use the fuijitsu flash tool as we do not have an evaluation board. Instead we will use PCAN-Flash.
From my understanding PCAN-Flash uses a .bin file...
How is the file converter to bin? Is it mot2bin.exe
If so, how is mot2bin.exe implemented? Is it selected as "Program" for "Converter" in "Options" window.
If so, is parameter necessary?
What is used as "Filename" in "Options" window? The browse button only looks for ".hex, .bin, .h86" so can .hex be selected, (i.e. C:\Users\dbistany\Downloads\pcanmicromod\Develop\Examples\Demo05_timer\Release\ABS\MM_Demo.mhx)
Thanks
The next step forward is flashing the peak.
It was decided not to use the fuijitsu flash tool as we do not have an evaluation board. Instead we will use PCAN-Flash.
From my understanding PCAN-Flash uses a .bin file...
How is the file converter to bin? Is it mot2bin.exe
If so, how is mot2bin.exe implemented? Is it selected as "Program" for "Converter" in "Options" window.
If so, is parameter necessary?
What is used as "Filename" in "Options" window? The browse button only looks for ".hex, .bin, .h86" so can .hex be selected, (i.e. C:\Users\dbistany\Downloads\pcanmicromod\Develop\Examples\Demo05_timer\Release\ABS\MM_Demo.mhx)
Thanks
- Attachments
-
- Capture2.PNG (58.4 KiB) Viewed 12796 times
Re: .hex and .bin files - Analog 1
Hi,
mot2bin.exe is a command line tool, call it in a command window or through a batch file:
mot2bin.exe myhexfile.mhx
it will generate a myhexfile.bin than
don´t forget to delete the old *.bin before
In our demo project you will find a f.bat to generate the necessary bin file. See \Release\ABS folder for more details.
regards
Michael
mot2bin.exe is a command line tool, call it in a command window or through a batch file:
mot2bin.exe myhexfile.mhx
it will generate a myhexfile.bin than
don´t forget to delete the old *.bin before
In our demo project you will find a f.bat to generate the necessary bin file. See \Release\ABS folder for more details.
regards
Michael