Hello I am writing my thesis about elua. As a Board, I got the STM32F4Discovery board. I have already build the image file(.bin) of elua0.8 and installed on the Board, I've tried a few examples like led.lua and everything was fine.I was able to communicate with the board over uart. and now my question is, which devices (Peripherals) can I connect to this Board or what modules interface are available for this Board. on the homepage of eluaproject.net there is not much about stm32f4discovery. can I connect a wireless chip (transceiver) with the Board? is it supported? every reply is welcome Thanks in advance and _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi,
I think the stm32f4 port is still experimental, so that's probably why there's not much info... About the modules, you can check the user projects page on the wiki (wiki.eluaproject.net/Projects). Also on the eLua github page (github.com/elua) you can find some more code thar might be usefull. Best, Thiago On Wed, Dec 12, 2012 at 2:08 PM, foad awad <[hidden email]> wrote:
_______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
<
<file:///C:/Users/ef552/AppData/Local/Temp/(http://wiki.eluaproject.net/Projects>wiki.eluaproject.net/Projects > At 01:39 PM 12/12/2012, you wrote: >Hi, > >I think the stm32f4 port is still experimental, so that's probably >why there's not much info... >About the modules, you can check the user projects page on the wiki >(wiki.eluaproject.net/Projects). >Also on the eLua github page >(<http://github.com/elua>github.com/elua) you can find some more >code thar might be usefull. > >Best, >Thiago > > >On Wed, Dec 12, 2012 at 2:08 PM, foad awad ><<mailto:[hidden email]>[hidden email]> wrote: >Hello >I am writing my thesis about elua. As a Board, I got the >STM32F4Discovery board. I have already build the image file(.bin) of >elua0.8 and installed on the Board, I've tried a few examples like >led.lua and everything was fine.I was able to communicate with the >board over uart. >and now my question is, which devices (Peripherals) can I connect to >this Board or what modules interface are available for this Board. >on the homepage of <http://eluaproject.net>eluaproject.net there is >not much about stm32f4discovery. >can I connect a wireless chip (transceiver) with the Board? is it supported? >every reply is welcome >Thanks in advance and > >Awad -- Cecil - k5nwa http://www.softrockradio.org/ http://thepartsplace.k5nwa.com/ Never take life seriously. Nobody gets out alive anyway. _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
Hi,
thanks for the quick responses. that was helpful for me. I have one more question. I created the binary file on the operating system Windows 7 and Mac os x 10.7.5 Lion. (I instaled Windows on my Mac laptop). and now if I flash the file on the board with the STM32 ST-LINK utility (on Windows operating system) of st.com (http://www.st.com/internet/evalboard/product/251168.jsp) that works fine and I can communicate with the board through uart. But when I try to do that ( I have the same source code on both operating systems Mac and Windows ) on Mac with stlink.git from Github (https://github.com/texane/stlink), I always get the error [Hard fault handler] as seen here: // st-util z4a6f:stlink.git fuadawad$ ./st-util 2012-12-13T14:39:01 INFO src/stlink-usb.c: -- exit_dfu_mode 2012-12-13T14:39:01 INFO src/stlink-common.c: Loading device parameters.... 2012-12-13T14:39:01 INFO src/stlink-common.c: Device connected is: F4 device, id 0x10016413 2012-12-13T14:39:01 INFO src/stlink-common.c: SRAM size: 0x30000 bytes (192 KiB), Flash: 0x100000 bytes (1024 KiB) in pages of 16384 bytes Chip ID is 00000413, Core ID is 2ba01477. KARL - should read back as 0x03, not 60 02 00 00 init watchpoints Listening at *:4242... ...... 2012-12-13T14:40:17 INFO src/stlink-common.c: Starting verification of write complete 2012-12-13T14:40:20 INFO src/stlink-common.c: Flash written and verified! jolly good! send: OK recv: p19 send: 00000001 // arm-none-eabi-gdb z4a6f:elua-master-1 fuadawad$ arm-none-eabi-gdb GNU gdb (32-bit ARM EABI Toolchain JBS-2012.03-56-v2011.09-69-18-gd53ce5a) 7.2.50.20100908-cvs Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-apple-darwin11.4.2 --target=arm-none-eabi". For bug reporting instructions, please see: <https://github.com/jsnyder/arm-eabi-toolchain>. (gdb) target extended-remote localhost:4242 Remote debugging using localhost:4242 0x08004ec0 in ?? () (gdb) load elua_lua_stm32f407vg.elf Loading section .text, size 0x33f80 lma 0x8000000 Loading section .data, size 0x50c lma 0x8033f80 Loading section .ARM.extab, size 0xb4 lma 0x803448c Loading section .ARM.exidx, size 0xf8 lma 0x8034540 Start address 0x8004ec0, load size 214584 Transfer rate: 13 KB/sec, 10218 bytes/write. (gdb) // elua shell eLua v0.8 Copyright (C) 2007-2011 www.eluaproject.net eLua# help[Hard fault handler] R0 = 6de9cf R1 = 0 R2 = a8 R3 = 0 R12 = 801ad81 LR = 8001be7 PC = 8001c0c PSR = 61000000 BFAR = e000ed38 CFSR = 10000 HFSR = 40000000 DFSR = 0 AFSR = 0 have you an idea where the error can be Thanks in advance and sorry for my bad English. Awad. Am 12.12.2012 um 21:05 schrieb cbayona: > < <file:///C:/Users/ef552/AppData/Local/Temp/(http://wiki.eluaproject.net/Projects>wiki.eluaproject.net/Projects > > > > > At 01:39 PM 12/12/2012, you wrote: >> Hi, >> >> I think the stm32f4 port is still experimental, so that's probably why there's not much info... >> About the modules, you can check the user projects page on the wiki (wiki.eluaproject.net/Projects). >> Also on the eLua github page (<http://github.com/elua>github.com/elua) you can find some more code thar might be usefull. >> >> Best, >> Thiago >> >> >> On Wed, Dec 12, 2012 at 2:08 PM, foad awad <<mailto:[hidden email]>[hidden email]> wrote: >> Hello >> I am writing my thesis about elua. As a Board, I got the STM32F4Discovery board. I have already build the image file(.bin) of elua0.8 and installed on the Board, I've tried a few examples like led.lua and everything was fine.I was able to communicate with the board over uart. >> and now my question is, which devices (Peripherals) can I connect to this Board or what modules interface are available for this Board. on the homepage of <http://eluaproject.net>eluaproject.net there is not much about stm32f4discovery. >> can I connect a wireless chip (transceiver) with the Board? is it supported? >> every reply is welcome >> Thanks in advance and >> >> Awad > > -- > Cecil - k5nwa > http://www.softrockradio.org/ http://thepartsplace.k5nwa.com/ > > Never take life seriously. Nobody gets out alive anyway. > _______________________________________________ > 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 |