On 2016-08-29 22:30, Philipp Klaus Krause wrote: > On 29.08.2016 00:20, Benjamin Larsson wrote: >> On 08/28/2016 11:30 PM, Philipp Klaus Krause wrote: >>> On 28.08.2016 23:13, Benjamin Larsson wrote: >>>> On 08/28/2016 11:03 PM, Philipp Klaus Krause wrote: >>>>> Dear Benjamin, >>>>> >>>>> what tool are you using to write your program onto the board? >>>>> >>>>> Philipp >>>> >>>> Under windows I use simplicity studio with a UC6 device. Under linux I >>>> use ec2-new from https://github.com/paragonRobotics/ec2-new with the >>>> same device. My own arduino programmer did not work with the F330. >>>> >>>> MvH >>>> Benjamin Larsson >>> I so far only used ec2-new. Did you try to write the program compiled >>> with SDCC using simplicity studio? That would help rule out an ec2-new bug. >>> >>> Philipp >>> >> >> I did lots of tinkering trying to get this to work, I am pretty sure I >> did the reverse. Keil compiled hex flashed with ec2-new. But I can't >> really trust my memory on that. I am pretty sure I dumped the flash and >> compared the output. But I can redo it if you want. >> >> >> MvH >> Benjamin Larsson > Please do. At the moment the only thing we really know is that SDCC + > ec2-new does not work for the C8051F330. and we don't know why. If we > can rule out ec2-new at least we know it is something in the .ihx > generated by SDCC. > Please check if writing the .ihx generated by SDCC using a tool other > than ec2-new works. > > Philipp > > > ------------------------------------------------------------------------------ > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user >
Hi! Maybe my comments here are not entirely in tune with the subject....but I am just trying to help. Have not used the F330 myself, but I frequently use the F930 together with SDCC. My development is done in Silicon Labs IDE. The adapter is an old Serial Adapter EC2 (Cygnal). I was surprised to see an .ihx file mentioned. When I download my software to the boards, I always download the <project_name>.omf file. If you get an ".omf" file from your build, you might want to try that file for download. BR Joakim ------------------------------------------------------------------------------ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user