bladox.com Forum Index bladox.com
Turbo SIM Toolkit Adapter Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

locate example

 
Post new topic   Reply to topic    bladox.com Forum Index -> Development
View previous topic :: View next topic  
Author Message
jplaschke



Joined: 04 Mar 2009
Posts: 23

PostPosted: Thu Mar 05, 2009 2:53 pm    Post subject: locate example Reply with quote

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
View user's profile Send private message
jplaschke



Joined: 04 Mar 2009
Posts: 23

PostPosted: Thu Mar 05, 2009 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
jplaschke



Joined: 04 Mar 2009
Posts: 23

PostPosted: Thu Mar 05, 2009 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bladox.com Forum Index -> Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group