View previous topic :: View next topic |
Author |
Message |
jplaschke
Joined: 04 Mar 2009 Posts: 23
|
Posted: Thu Mar 05, 2009 2:53 pm Post subject: locate example |
|
|
I have created a tool chain for windows using cygwin.
I have successfully loaded a trb file using cemu and the turbo programmer.
The problem I currency having is I get a ERROR: Bad File when I try to load the locate.trb that I created.
I am using a Turbo SIM
c:\sygwin\home\owner\turbo-prog-utils-3.1.9\bin-win32>cemu --app ..\..\turbo-devl--060822\examples\locate\locate.trb -d \\.\COM15
SIM mode initialized, sim.trb
SIM_ATR: 3B 3F 95 0080 69 AF 03 0F 02 80 FF FF 06 0E 83
Uploaded 128/1969 bytes
Uploaded 256/1969 bytes ...
...
Uploaded 1969/1969 bytes
ERROR: Bad File
Please help.
Děkuji,
John |
|
Back to top |
|
 |
jplaschke
Joined: 04 Mar 2009 Posts: 23
|
Posted: Thu Mar 05, 2009 9:08 pm Post subject: |
|
|
More info.
I built the example in cygwin
I am trying to load the app using the bin-win32 tools. Is this completely wrong?
I tried running the cemu command from cygwin but it does not execute
I read that Pavel said the bad file has to do with unix/windows file formats
CRLF vs just LF. Something about avr-objdump. |
|
Back to top |
|
 |
jplaschke
Joined: 04 Mar 2009 Posts: 23
|
Posted: Thu Mar 05, 2009 9:28 pm Post subject: |
|
|
As pavel said in another post it was a file format problem
I set up cygwin to write DOS and read as unix, because my .bash_profile was not being read correctly
I switched to all unix formats and now it is ok |
|
Back to top |
|
 |
|