Nuccio Raciti |
Hi All,
I'm close to have a STM32F4DISCOVERY board, the goal will be to add the "dsu-loader" (and ".properties" support) for this family of chips... There is anyone interested? Regards, N _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Antti Lukats |
Hi
we are very interested in eLua with cortex m4 what is what you are planning todo? the ST DFUuse demo app seems to have a bug and does not program the F4 properly but the DFUtester can be used to flash over DFU protocol, I assume you made a mistake and did mean DFU not DSU? also there is a project that includes firmware for the onchip STLink controller to be reflashed with opened compatible sad firmware. what is GO@IDE ? coocox.org has free IDE, it is supposed to support M4 also soon but not yet Antti On Sat, Mar 3, 2012 at 12:56 PM, Nuccio Raciti <[hidden email]> wrote: > Hi All, > > I'm close to have a STM32F4DISCOVERY board, > the goal will be to add the "dsu-loader" (and ".properties" support) for > this family of chips... > > There is anyone interested? > > Regards, > N > > > > > > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
Il 04/03/2012 08:36, Antti Lukats ha scritto:
> Hi > > we are very interested in eLua with cortex m4 > > what is what you are planning todo? > > the ST DFUuse demo app seems to have a bug and does not program the F4 > properly but the DFUtester can be used to flash over DFU protocol, I > assume you made a mistake and did mean DFU not DSU? > > also there is a project that includes firmware for the onchip STLink > controller to be reflashed with opened compatible sad firmware. > > what is GO@IDE ? > > coocox.org has free IDE, it is supposed to support M4 also soon but not yet > > > Antti > sorry, I meant dfu, "The Go @ IDE" (https://github.com/nuccioraciti/Goat-IDE) is an editor dedicated to the embedded eLua World: some features: *) Its editor (based on the wonderful library "scintilla" http://www.scintilla.org/), is lightweight and powerful. *) Has additional features such as "syntax highlighting", "code folding" and "code completion" based on the eLua API. *) Includes the capability to connect with the real hardware (through the serial or the USB port) obtaining the prompt of Elua inside it. *) It's able to send the .lua/.lc file on the Hardware (using the eLua xmodem protocol). *) Supports some terminal commands (standard ansi/vt100), so it's able to play games like "hanoi" or "hungman" (using the eLua TERM capability). *) Includes the for the DFU bootloader programmer (only for the avr32 platform for now). Youtube videos (very old): http://www.youtube.com/watch?v=kUmujKemFjA http://www.youtube.com/watch?v=Z3g2Hu_FC3Q So I'm planning to support the DFU also for the "STM32F4Discovery" ... Nuccio _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
sweetlilmre |
Sounds awesome, I'd love to give this a go with my discovery board. On Mar 4, 2012 10:39 AM, "Nuccio Raciti" <[hidden email]> wrote:
Il 04/03/2012 08:36, Antti Lukats ha scritto: _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Matt Wilbur |
In reply to this post by Nuccio Raciti
I have to say I now use Go@ daily to prototype code - type, hit F5, watch your code die a fiery death.
Many thanks, Nuccio. Matt On Sunday, 4 March, 2012 at 3:39 AM, Nuccio Raciti wrote:
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
Il 21/03/2012 13:48, Matt Wilbur ha scritto:
> I have to say I now use Go@ daily to prototype code - type, hit F5, > watch your code die a fiery death. > > Many thanks, Nuccio. > > Matt This is the kind of comment that helps .... a lot. N _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi,
I'm trying harder with f4disco, xp sp3, serial 115k, com17(bt): 1. help does not open from goat 2. some help html files freeze the ie8, some loads in ~30sec (it works with firefox), 3. send run on ram does "#eLua recv" and waits, I have to go to console and press enter to start the xmodem transfer (any line end char settings) 4. for example hanoi.lua xmodem upload takes about 40secs (the same ~3secs in teraterm). I'm using default settings (mizar32??), only change is com17. Nice IDE, though :). P. ----- PŮVODNÍ ZPRÁVA ----- Od: "Nuccio Raciti" <[hidden email]> Komu: "eLua Users and Development List (www.eluaproject.net)" <[hidden email]> Předmět: Re: [eLua-dev] The Go @ IDE & STM32F4DISCOVERY Datum: 22.3.2012 - 7:14:19 > Il 21/03/2012 13:48, Matt Wilbur ha scritto: > > I have to say I now use Go@ daily to prototype > > code - type, hit F5, > > > watch your code die a fiery death. > > > > Many thanks, Nuccio. > > > > Matt > > This is the kind of comment that helps .... a lot. > > N > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > -- - - Reklama - - - - - - - - - - - - - - Mág, rytíř nebo válečník? Oblíbenou fantasy ságu Drakensangu si nyní můžete zahrát online. Zažijte výpravný příběh a bitvy s fantastickou 3D grafikou přímo ve Vašem prohlížeči! Hrát můžete na http://bit.ly/yr37kd _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Matt Wilbur |
I found that, for windows, I needed to send "recv\r\n" instead of "recv\n". I'd recommend building the latest on Windows yourself as you can now customize this aspect without a rebuilt because they run lua scripts instead.
On Thursday, 22 March, 2012 at 5:51 PM, pito wrote:
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
In reply to this post by Pito
Hi Pito,
Il 22/03/2012 22:51, pito ha scritto: > Hi, > I'm trying harder with f4disco, xp sp3, serial 115k, com17(bt): do you mean by the "bluetooth"? > 1. help does not open from goat Which help? the F1 ("Help") or the "Goat Help"? related with the "F1" help you need to select first a "word" , then Goat will try to open the web browser searching the "word" on the Lua web. this behaviour is depending of the kind of file you are editing: eg. inside elua.properties .. ... if PLAT_WIN command.help.$(file.patterns.lua)="http://www.google.com/search?q=+$(CurrentWord)&sitesearch=lua.org" command.help.subsystem.*.lua=2 if PLAT_GTK command.help.$(file.patterns.lua)=x-www-browser "http://www.google.com/search?q=+$(CurrentWord)&sitesearch=lua.org" command.help.subsystem.*.lua=2 .. .. .. > 2. some help html files freeze the ie8, some loads in ~30sec (it > works with firefox), Thanks I will verify. > 3. send run on ram does "#eLua recv" and waits, I have to go to > console and press enter to start the xmodem transfer (any line end > char settings) Probably some piece of the "bt" stack removes the "\n" character.... > 4. for example hanoi.lua xmodem upload takes about 40secs (the same > ~3secs in teraterm). I've never tried using the "bt", You really need to use it? > I'm using default settings (mizar32??), only change is com17. > Nice IDE, though :). > P. Thanks, please let me know. N. > _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
> > 1. help does not open from goat > Which help? the F1 ("Help") or the "Goat Help"? > ok, click on F1 opens google with some findings on "word", "goat help" does nothing. !Moreover after opening goat it connects to f4disco and after 3secs it takes 100% of my cpu (and does until I close the goat).. > > Probably some piece of the "bt" stack removes the > "\n" character.... BT works fine with all my dev systems.. :) > > 4. for example hanoi.lua xmodem upload takes > > about 40secs (the same > > > ~3secs in teraterm). > I've never tried using the "bt", You really need > to use it? Bt works fine with teraterm recv/xmodem upload to elua.. p. -- - - Reklama - - - - - - - - - - - - - - Mág, rytíř nebo válečník? Oblíbenou fantasy ságu Drakensangu si nyní můžete zahrát online. Zažijte výpravný příběh a bitvy s fantastickou 3D grafikou přímo ve Vašem prohlížeči! Hrát můžete na http://bit.ly/yr37kd _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
For those who like to experiment (you do it at your onw risk)..
In system_stm32f4xx.c you may make these small changes in order to set the cpu frequency easily. You have to experiment with WS's number when not stable at higher frequencies :). The frequencies are in mult of 24 (because of USB). In "system_stm32f4xx.c": ... /****** PLL Parameters *********************/ /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */ #define PLL_M 4 // here you define the "cpu clock frequency" // ie. 264, 240, 216, 192, 168, 144, 120, 96, 72 MHz #define PLL_N 216 // MHz /* SYSCLK = PLL_VCO / PLL_P */ #define PLL_P 2 /* USB OTG FS, SDIO and RNG Clock = PLL_VCO / PLLQ */ #define PLL_Q PLL_N / 24 /********************************************/ ... /** @addtogroup STM32F4xx_System_Private_Variables * @{ */ uint32_t SystemCoreClock = PLL_N * 1000000; ... /* Configure Flash prefetch, Instruction cache, Data cache and wait state */ // for freq > 192 you may use 6 or more WaitStates FLASH->ACR = FLASH_ACR_PRFTEN | FLASH_ACR_ICEN |FLASH_ACR_DCEN |FLASH_ACR_LATENCY_7WS; P. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
In reply to this post by Matt Wilbur
sure, thanks.
Nuccio Il 23/03/2012 13:02, Matt Wilbur ha scritto: > I found that, for windows, I needed to send "recv\r\n" instead of > "recv\n". I'd recommend building the latest on Windows yourself as you > can now customize this aspect without a rebuilt because they run lua > scripts instead. > > On Thursday, 22 March, 2012 at 5:51 PM, pito wrote: > >> Hi, >> I'm trying harder with f4disco, xp sp3, serial 115k, com17(bt): >> 1. help does not open from goat >> 2. some help html files freeze the ie8, some loads in ~30sec (it >> works with firefox), >> 3. send run on ram does "#eLua recv" and waits, I have to go to >> console and press enter to start the xmodem transfer (any line end >> char settings) >> 4. for example hanoi.lua xmodem upload takes about 40secs (the same >> ~3secs in teraterm). >> I'm using default settings (mizar32??), only change is com17. >> Nice IDE, though :). >> P. >> >> >> ----- PŮVODNÍ ZPRÁVA ----- >> Od: "Nuccio Raciti" <[hidden email] >> <mailto:[hidden email]>> >> Komu: "eLua Users and Development List (www.eluaproject.net >> <http://www.eluaproject.net>)" >> <[hidden email] <mailto:[hidden email]>> >> Předmět: Re: [eLua-dev] The Go @ IDE & STM32F4DISCOVERY >> Datum: 22.3.2012 - 7:14:19 >> >>> Il 21/03/2012 13:48, Matt Wilbur ha scritto: >>>> I have to say I now use Go@ daily to prototype >>>> code - type, hit F5, >>>>> watch your code die a fiery death. >>>> >>>> Many thanks, Nuccio. >>>> >>>> Matt >>> >>> This is the kind of comment that helps .... a lot. >>> >>> N >>> _______________________________________________ >>> eLua-dev mailing list >>> [hidden email] <mailto:[hidden email]> >>> https://lists.berlios.de/mailman/listinfo/elua-dev >> >> -- >> - - Reklama - - - - - - - - - - - - - - >> Mág, rytíř nebo válečník? Oblíbenou fantasy ságu Drakensangu si nyní >> můžete zahrát online. Zažijte výpravný příběh a bitvy s fantastickou >> 3D grafikou přímo ve Vašem prohlížeči! Hrát můžete na >> http://bit.ly/yr37kd >> >> _______________________________________________ >> eLua-dev mailing list >> [hidden email] <mailto:[hidden email]> >> https://lists.berlios.de/mailman/listinfo/elua-dev > > > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
In reply to this post by Pito
>> Probably some piece of the "bt" stack removes the
>> "\n" character.... > BT works fine with all my dev systems.. :) I'm having the same problem, and I'm not using bt. Pressing enter on the Goat terminal windows won't work either. Adding a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve the issue, but I'm not sure whether this is a valid solution. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
Yes, it is a good solution on Windows systems,
I will fix it for the next release thanks for the suggestion, Cheers, Nuccio. Il 26/03/2012 20:09, Pedro ha scritto: >>> Probably some piece of the "bt" stack removes the >>> "\n" character.... >> BT works fine with all my dev systems.. :) > I'm having the same problem, and I'm not using bt. > > Pressing enter on the Goat terminal windows won't work either. Adding > a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve > the issue, but I'm not sure whether this is a valid solution. > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
>>>> Probably some piece of the "bt" stack removes the
>>>> "\n" character.... >>> >>> BT works fine with all my dev systems.. :) >> >> I'm having the same problem, and I'm not using bt. >> >> Pressing enter on the Goat terminal windows won't work either. Adding >> a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve >> the issue, but I'm not sure whether this is a valid solution. > > Yes, it is a good solution on Windows systems, > I will fix it for the next release > thanks for the suggestion, I forgot to mention that I'm on a GNU/Linux system. > Cheers, > Nuccio. Pedro. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Nuccio Raciti |
So probably the STM32F4Discovery eLua needs the "\r\n",
unfortunately I have not yet had time to try it, I did my work on a avr32 board... I will check. Il 27/03/2012 01:58, Pedro ha scritto: >>>>> Probably some piece of the "bt" stack removes the >>>>> "\n" character.... >>>> BT works fine with all my dev systems.. :) >>> I'm having the same problem, and I'm not using bt. >>> >>> Pressing enter on the Goat terminal windows won't work either. Adding >>> a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve >>> the issue, but I'm not sure whether this is a valid solution. >> Yes, it is a good solution on Windows systems, >> I will fix it for the next release >> thanks for the suggestion, > I forgot to mention that I'm on a GNU/Linux system. > >> Cheers, >> Nuccio. > Pedro. > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
On Tue, Mar 27, 2012 at 8:34 PM, Nuccio Raciti <[hidden email]> wrote:
> So probably the STM32F4Discovery eLua needs the "\r\n", That really shouldn't depend on the board. eLua has a mechanism that accepts all kinds of newline terminators, so it's unlikely that the problem is with this specific board. Best, Bogdan > unfortunately I have not yet had time to try it, > I did my work on a avr32 board... > > I will check. > > > Il 27/03/2012 01:58, Pedro ha scritto: > >>>>>> Probably some piece of the "bt" stack removes the >>>>>> "\n" character.... >>>>> >>>>> BT works fine with all my dev systems.. :) >>>> >>>> I'm having the same problem, and I'm not using bt. >>>> >>>> Pressing enter on the Goat terminal windows won't work either. Adding >>>> a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve >>>> the issue, but I'm not sure whether this is a valid solution. >>> >>> Yes, it is a good solution on Windows systems, >>> I will fix it for the next release >>> thanks for the suggestion, >> >> I forgot to mention that I'm on a GNU/Linux system. >> >>> Cheers, >>> Nuccio. >> >> Pedro. >> _______________________________________________ >> eLua-dev mailing list >> [hidden email] >> https://lists.berlios.de/mailman/listinfo/elua-dev >> > > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Antti Lukats |
well, the problem exist, we use generic STM32F4 board with @AT
and pressing the enter each time after download is true pita Antti On Tue, Mar 27, 2012 at 9:38 PM, Bogdan Marinescu <[hidden email]> wrote: > On Tue, Mar 27, 2012 at 8:34 PM, Nuccio Raciti <[hidden email]> wrote: >> So probably the STM32F4Discovery eLua needs the "\r\n", > > That really shouldn't depend on the board. eLua has a mechanism that > accepts all kinds of newline terminators, so it's unlikely that the > problem is with this specific board. > > Best, > Bogdan > >> unfortunately I have not yet had time to try it, >> I did my work on a avr32 board... >> >> I will check. >> >> >> Il 27/03/2012 01:58, Pedro ha scritto: >> >>>>>>> Probably some piece of the "bt" stack removes the >>>>>>> "\n" character.... >>>>>> >>>>>> BT works fine with all my dev systems.. :) >>>>> >>>>> I'm having the same problem, and I'm not using bt. >>>>> >>>>> Pressing enter on the Goat terminal windows won't work either. Adding >>>>> a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve >>>>> the issue, but I'm not sure whether this is a valid solution. >>>> >>>> Yes, it is a good solution on Windows systems, >>>> I will fix it for the next release >>>> thanks for the suggestion, >>> >>> I forgot to mention that I'm on a GNU/Linux system. >>> >>>> Cheers, >>>> Nuccio. >>> >>> Pedro. >>> _______________________________________________ >>> eLua-dev mailing list >>> [hidden email] >>> https://lists.berlios.de/mailman/listinfo/elua-dev >>> >> >> _______________________________________________ >> eLua-dev mailing list >> [hidden email] >> https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi Antti,
On Wed, Mar 28, 2012 at 8:57 AM, Antti Lukats <[hidden email]> wrote: > well, the problem exist, we use generic STM32F4 board with @AT > and pressing the enter each time after download is true pita I'm sure the problem exists, I'm not denying that. What I don't get is what could have happened in eLua itself that made this problem appear in the first place. When we had this kind problem in the past, it was always a timer issue (unfortunately I can't test this yet (but I'll be able to do this after this crazy week ends here)). This is a bit weird though, I thought that timers on STM32F4 are working fine. Can someone please check the system timer on the F4? Maybe it's not implemented properly. Best, Bogdan PS. Slightly OT, are you the same Antti Lukats that wrote (or ported, my memory is a bit fuzzy) a tokenized BASIC interpreter to 8-bit micros a while ago? > > Antti > > On Tue, Mar 27, 2012 at 9:38 PM, Bogdan Marinescu > <[hidden email]> wrote: >> On Tue, Mar 27, 2012 at 8:34 PM, Nuccio Raciti <[hidden email]> wrote: >>> So probably the STM32F4Discovery eLua needs the "\r\n", >> >> That really shouldn't depend on the board. eLua has a mechanism that >> accepts all kinds of newline terminators, so it's unlikely that the >> problem is with this specific board. >> >> Best, >> Bogdan >> >>> unfortunately I have not yet had time to try it, >>> I did my work on a avr32 board... >>> >>> I will check. >>> >>> >>> Il 27/03/2012 01:58, Pedro ha scritto: >>> >>>>>>>> Probably some piece of the "bt" stack removes the >>>>>>>> "\n" character.... >>>>>>> >>>>>>> BT works fine with all my dev systems.. :) >>>>>> >>>>>> I'm having the same problem, and I'm not using bt. >>>>>> >>>>>> Pressing enter on the Goat terminal windows won't work either. Adding >>>>>> a '\r' before the '\n' on line 17 of "send_and_run.lua" seems to solve >>>>>> the issue, but I'm not sure whether this is a valid solution. >>>>> >>>>> Yes, it is a good solution on Windows systems, >>>>> I will fix it for the next release >>>>> thanks for the suggestion, >>>> >>>> I forgot to mention that I'm on a GNU/Linux system. >>>> >>>>> Cheers, >>>>> Nuccio. >>>> >>>> Pedro. >>>> _______________________________________________ >>>> eLua-dev mailing list >>>> [hidden email] >>>> https://lists.berlios.de/mailman/listinfo/elua-dev >>>> >>> >>> _______________________________________________ >>> eLua-dev mailing list >>> [hidden email] >>> https://lists.berlios.de/mailman/listinfo/elua-dev >> _______________________________________________ >> eLua-dev mailing list >> [hidden email] >> https://lists.berlios.de/mailman/listinfo/elua-dev > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi,
pls mind the other goat issue I've indicated as well: 1. after the start of goat (xp sp3) the cpu (notebook) utilization goes to 100% 2. it does not matter whether the f4disco is connected or not (or, whether the bt connection or bt device is started or not) 3. when running elua via teraterm and bt the cpu utilisation is ~4% when at elua prompt and 18% when communicating 115k heavily.. p. -- - - Reklama - - - - - - - - - - - - - - Autonehoda v opilosti, trestní stíhání, odposlechy, lobbing, zákulisní praktiky... Vše o kauze podnikatele Romana Janouška, přítele bývalého pražského primátora a poslance Pavla Béma čtěte na http://bit.ly/HaNXoc _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Free forum by Nabble | Edit this page |