linux tools?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi, wondering if there are linux tools available (sdcc, fload etc.)?
0 Likes
9 Replies
putyn
Employee
Employee
sdcc its available for linux as for fload or any other program that could write the hex on the mcu im not aware, i know kamikaze (a user here) he used linux to develop his libraries for xc878 but he used a virtual box to run fload
0 Likes
Not applicable
Actually the SDCC version provided by Infineon is seriously dated. I wouldn't use it, even on Windows. http://sdcc.sf.net

I'm using VirtualBox to flash devices with code compiled on FreeBSD. The protocol is public (you can find it in the Infineon docs somewhere) and I'd love to make an implementation under MIT/BSD license. It's just not a priority right now.
0 Likes
Not applicable
@svein, @putyn Would you be willing to test if I developed a flash tool?
0 Likes
Not applicable
kamikaze wrote:
@svein, @putyn Would you be willing to test if I developed a flash tool?


Certainly!

As for SDCC, I think Infineon just adds support for their chips and then release a windows .exe? It would be great if they could provide patches to the main project instead.
0 Likes
Not applicable
If you use upstream SDCC, use a 3.2.1 or later (I'm on the 3.3 branch, now) where bug 2045 is fixed:
https://sourceforge.net/p/sdcc/bugs/2045

Apart from that you're fine with the parameters: "-mmcs51 -xram-loc 0xF000 --xram-size 3072" for the XC878. You also need the Dave generated header files.
0 Likes
putyn
Employee
Employee
kamikaze wrote:
@svein, @putyn Would you be willing to test if I developed a flash tool?


hey, after i finished my dissertation i have stopped using the xc878 but when you release your application i will take a look
0 Likes
Not applicable
kamikaze wrote:
Actually the SDCC version provided by Infineon is seriously dated. I wouldn't use it, even on Windows. http://sdcc.sf.net

I'm using VirtualBox to flash devices with code compiled on FreeBSD. The protocol is public (you can find it in the Infineon docs somewhere) and I'd love to make an implementation under MIT/BSD license. It's just not a priority right now.


I would like you write a replacement under BSD, but I can't seem to find documentation.
Some help in finding the protocol specs would be greatly appreciated!

The target is both windows and linux, but windows will most likely come first. (My primary system is a windows box)
0 Likes
Not applicable
0 Likes
User11792
Level 1
Level 1
Any news on the flash tool?

Philipp
0 Likes