Sebastien Lelong wrote:
>
> OK. It appears the problem comes from my Linux tinybootloader client. Seems
> not working with 18F devices. I've successfully programmed a blink-a-led
> using original Windows version.
>
> So... is there anybody here who has a Linux (or cross-platform version) of a
> Tiny client ? (Rob, I remember you sometime talked about this, did I dream
> or will you save my WE ?...)
I'm afraid not. I have indeed written a (commandline) TinyBootLoader
client for some specific PICs (16F88 and 16F886). It is written with
support for eCS, Linux and W32 (like Xwisp2), but I have not tested it
with Linux yet. More importantly for you it does not support any 18F!
I could send you the C-source, but since it is not table-driven it will
probably take you a lot of time to adapt it for the 18F.
Why not ask the author of your Linux client to check/fix the problem?
Regards, Rob
--
Rob Hamerling, Vianen, NL (http://www.robh.nl/)
There is also a sourceforge project, there seems to be a recent
version, don't know if it supports 18f, but
source code is available
http://sourceforge.net/projects/tinybldlin/files/
Woohoo ! It's working ! Great, thanks !
Now I need to "downgrade" it so I can use it from command line and get rid of GUI.
Compilation line is : D:\pic\projects\jallib_svn\compiler\jalv2.exe -s
D:\pic\projects\jallib_svn\include\device;D:\pic\projects\jallib_svn\include\peripheral\usb;D:\pic\projects\jallib_svn\include\peripheral\i2c;D:\pic\projects\jallib_svn\include\peripheral\usart;D:\pic\projects\jallib_svn\include\jal;D:\pic\projects\jallib_svn\include\external\lcd;D:\pic\projects\jallib_svn\include\peripheral\pwm;D:\pic\projects\jallib_svn\include\peripheral\adc;D:\pic\projects\jallib_svn\include\peripheral\data_eeprom
D:\pic\projects\jallib_svn\sample\18f4550_usb_bootloader_autostart.jal
jal 2.4l (compiled Aug 7 2009)
generating p-code
0 errors, 0 warnings
2587 tokens, 163250 chars; 4541 lines; 5 files
live variable analysis iterations: 3
generating PIC code pass 1
generating PIC code pass 2
writing result
Code area: 2010 of 32768 used (bytes)
Data area: 37 of 928 used
Software stack available: 891 bytes
Hardware stack depth 3 of 31
Compilation line is : D:\pic\projects\jallib_svn\compiler\jalv2.exe -s
D:\pic\projects\jallib_svn\include\device;D:\pic\projects\jallib_svn\include\peripheral\usb;D:\pic\projects\jallib_svn\include\peripheral\i2c;D:\pic\projects\jallib_svn\include\peripheral\usart;D:\pic\projects\jallib_svn\include\jal;D:\pic\projects\jallib_svn\include\external\lcd;D:\pic\projects\jallib_svn\include\peripheral\pwm;D:\pic\projects\jallib_svn\include\peripheral\adc;D:\pic\projects\jallib_svn\include\peripheral\data_eeprom
D:\pic\projects\jallib_svn\sample\18f14k50_usb_bootloader_autostart.jal
jal 2.4l (compiled Aug 7 2009)
generating p-code
0 errors, 0 warnings
2587 tokens, 153954 chars; 4263 lines; 5 files
live variable analysis iterations: 3
generating PIC code pass 1
generating PIC code pass 2
writing result
Code area: 2006 of 16384 used (bytes)
Data area: 37 of 672 used
Software stack available: 379 bytes