Whee Min TAN (NYP) |
Hi, I’m new to elua and scripting language. I wonder anyone can advise me on the below. -Does Omnima STM32 Expander comes with elua pre-loaded image? If not, how do I pre-loaded the elua to start programming? -Does Omnima STM32 Expander comes with pre-installed elua library? If yes, any additional info on how to use it? - Is there a special file location that I need to place a elua written source programs so that to execute it even when board is powered-up? Do we have to write a batch file using Make command? -How to burn/jtag a elua file written in notepad eg xxx.elua into the STM32 Expander? What is the command? Thks & rgds, Tan Whee Min | Development Engineer Tel: 65-65500583 Fax: 65-64520400 | [hidden email] | www.nyp.edu.sg _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Björn Kalkbrenner |
Hi,
i ordered the stm32expander some weeks ago and tried to find out nearly the same questions. The website of Omnima stated that elua is preloaded but mine didn't work. - I tried to register on the Omnima forum to ask some questions - registration deactivated, can't be used. - I tried to write to the support (via contact form and mail) but didn't receive an answer yet. - I tried to ask here at the mailing list about the stm32 expander - no answer (but that's ok, this list is not an official omnima help list) My progress: -------------- I was now able to identify the BOOT0 and BOOT1 pins on the expander and used stm32flash to flash a new firmware to the stm32. But be warned. The version Omnima mentioned from their google code svn is not working (and can not be working due to the fact that the sourcecode which is needed to do the flashing is missing). You need to use the version at http://code.google.com/p/stm32flash/ That worked for me, doesn't mean that it is working for you. I was then able to flash a new firmware but currently, i am not sure if my created elua "firmware" is broken or my device is because it is still doesn't work. I can't connect to the UART port to get a working console... Currently my "interest" at the stm32expander is really low, the not-existing support of Omnima made me a little bit angry and i don't think i will try to invest more of my time into that thing. The stm32expander really looked great and before i buyed that little thing i looked at the PDF overview from their website and looked at their forum, it seems to be active - and is even mentioned on the elua website as "suppported". The reality seems different (but i can only talk about myself). Regarding to elua itself there is a really good documentation at the website about how script "files" hand be handled in different situations. http://wiki.eluaproject.net/eLua%20File%20Systems If i remember correct, you can also put a file into the romfs/ file section called autorun.lua or something like that, that file is called on booting the elua system. Take a look at the src/main.c: // Define here your autorun/boot files, // in the order you want eLua to search for them char *boot_order[] = { #if defined(BUILD_MMCFS) "/mmc/autorun.lua", "/mmc/autorun.lc", #endif #if defined(BUILD_ROMFS) "/rom/autorun.lua", "/rom/autorun.lc", #endif }; Bye Björn On 27.03.2013 08:52, Whee Min TAN (NYP) wrote: > Hi, > > > > I’m new to elua and scripting language. I wonder anyone can advise me > on the below. > > > > -Does Omnima STM32 Expander comes with elua pre-loaded image? If not, > how do I pre-loaded the elua to start programming? > > -Does Omnima STM32 Expander comes with pre-installed elua library? If > yes, any additional info on how to use it? > > - Is there a special file location that I need to place a elua written > source programs so that to execute it even when board is powered-up? Do > we have to write a batch file using Make command? > > -How to burn/jtag a elua file written in notepad eg xxx.elua into the > STM32 Expander? What is the command? > > > > Thks & rgds, > > *Tan Whee Min*| Development Engineer > > Tel:65-65500583 Fax:65-64520400 | [hidden email] > <mailto:[hidden email]> | www.nyp.edu.sg > <http://www.nyp.edu.sg/> > > v2_SIRS_email-signature_20120918.png > > > > > > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |