Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-21 Thread turro75
Hi all, I confirm that -gw2 works fine -gl requires some unit ans inc file, if i copy them in the project directory it compiles but the resulting file it's too big. Still struggling in visual debug.no way with lazarus, I guess the only way is to write an openocd alternative which manage the l

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-19 Thread Mattias Gaertner
On Wed, 18 Feb 2015 16:02:53 -0700 (MST) turro75 wrote: > ok, > > as I told in the previous post, I 'm now able to run and debug code with the > trunk fpc (3.1.1). > I just made some minor changes in t_embed.pas in order to automatically > create also the bin and call size. > Debugging works "f

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread turro75
ok, as I told in the previous post, I 'm now able to run and debug code with the trunk fpc (3.1.1). I just made some minor changes in t_embed.pas in order to automatically create also the bin and call size. Debugging works "fine" (not yet tested a complex program) with gdb --tui. Working in lazar

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread turro75
Dear Jeppe, Your job is awesome! Thanks for your effort on port fpc to stm32. Yesterday I found a way by using the 3.1.1, I was able to blink the led and visually debug the firmware through openocd (stlinkv2). This evening when I back to home I`ll explain better what I did. Turro -- View this

Re: [fpc-pascal] fpc-arm-embedded bin doesn't run

2015-02-18 Thread Jeppe Græsdal Johansen
Den 17-02-2015 kl. 17:21 skrev turro75: Hi All, I'm trying to get the fpc working on a stm32f103c8 board (maple_mini_clone). following this http://j-software.dk/stm32f103.php I'm able to compile (fpc-2.6.4) and flash the bin in the flash but no way to see t