on debian the package is "apt-get install tofrodos".
Sebastien
PS: didn't know this english expression:
http://en.wikipedia.org/wiki/Teaching_grandmother_to_suck_eggs
it's quite funny!
On Sat, Feb 12, 2011 at 5:50 PM, Rod Boyce <rod@...> wrote:
> I have seen a similar problem with LPC900 chips, try converting the from
> from unix file format to dos file format.
>
> On my ubuntu machine I use todos and on my fedora machine I use unix2dos.
> The command looks something like:
> $ todos output.ihx
>
> Regards,
> Rod Boyce
>
> PS sorry if I am teaching granny to suck eggs ;-) .
>
>
> On 12/02/11 16:00, Miguel Sánchez de León Peque wrote:
>
> Thanks Maarten.
>
> The .hex files I tried were generated using sdcc-packihx. But as I said,
> didn't work neither...
>
> I'll keep trying ;-).
>
> 2011/2/12 Maarten Brock <sourceforge.brock@...>
>
>> Miguel,
>>
>> Maybe the downloader cannot handle hex-files that are
>> not in ascending order. Try packihx on the generated
>> .ihx to sort it.
>>
>> Maarten
>>
>> > Thanks a lot for your help, Karl and Maarten :-).
>> >
>> > I found that ADuC84x.h file and used it to successfully compile a simple
>> > "Hello ADuC841" program. SDCC did generate the .ihx file and I could
>> > download that file into the uC, but seems it didn't work (tried with the
>> > .hex file too but didn't work neither...). For now, I'm using the
>> > official *Windows
>> > Serial Downloader* from *Analog Devices* to download the file into the
>> uC
>> > (works perfectly with Wine), so I can ensure that the problem I'm having
>> is
>> > with the compiler and not the downloader.
>> >
>> > I'll keep working on it and try to find some code examples. I'll tell
>> you if
>> > I finally can do it :-).
>> >
>> > Thanks again for your answer :-).
>> >
>> > Miguel
>> >
>> > 2011/2/10 Maarten Brock <sourceforge.brock@...>
>> >
>> > > Karl is not completely right here.
>> > >
>> > > > Your header file should work fine, you need to refer to the sdcc
>> > > > manual, there are slight differences between the keil interrupt
>> syntax
>> > > > and SDCC.
>> > >
>> > > This header file NOT work with SDCC. It assigns values to sfr typed
>> > > variables that the linker will place at random addresses. It needs sfr
>> > > definitions in SDCC syntax. Luckily for you SDCC already ships an
>> > > <ADuC84x.h> header file.
>> > >
>> > > Maarten
>> > >
>> > >
>> > >
>> ------------------------------------------------------------------------------
>> > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
>> XE:
>> > > Pinpoint memory and threading errors before they happen.
>> > > Find and fix more than 250 security defects in the development cycle.
>> > > Locate bottlenecks in serial and parallel code that limit performance.
>> > > http://p.sf.net/sfu/intel-dev2devfeb
>> > > _______________________________________________
>> > > Sdcc-user mailing list
>> > > Sdcc-user@...
>> > > https://lists.sourceforge.net/lists/listinfo/sdcc-user
>> > >
>> >
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Sdcc-user mailing list
>> Sdcc-user@...
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.http://p.sf.net/sfu/intel-dev2devfeb
>
>
> _______________________________________________
> Sdcc-user mailing listSdcc-user@... href="nethttps://lists.sourceforge.net/lists/listinfo/sdcc-user" target="_new">nethttps://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@...
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
|