Search found 32 matches
- Wed Mar 04, 2020 1:08 am
- Forum: General Discussion and Questions
- Topic: [Solved]Error when running the same code on Linux and IDE
- Replies: 7
- Views: 3082
Re: [Solved]Error when running the same code on Linux and IDE
Hi Jimmo, I solved the issue already. The issue is the function BSP_LCD_Refresh() needs an interrupt to end its "setting tear on". But in uPython, that interrupt cannot be called. therefore, the issue occurred. The interrupt is EndofRefreshCallBack in stm32l4r9i_discovery_lcd.c Anyway, thanks for yo...
- Mon Mar 02, 2020 3:25 am
- Forum: General Discussion and Questions
- Topic: [Solved]Error when running the same code on Linux and IDE
- Replies: 7
- Views: 3082
Re: Error when running the same code on Linux and IDE
Also, according to this material: https://github.com/micropython/micropyt ... ry-Manager
On startup, Garbage Collector is initialised by MicroPython via the function gc_init()
On startup, Garbage Collector is initialised by MicroPython via the function gc_init()
- Sat Feb 29, 2020 2:32 pm
- Forum: General Discussion and Questions
- Topic: [Solved]Error when running the same code on Linux and IDE
- Replies: 7
- Views: 3082
Re: Error when running the same code on Linux and IDE
Hi Jimmo, Remember that MicroPython will use all available RAM for heap+stack. Many of those ST libraries will do things like assuming they can use a particular region directly for a framebuffer. I've read the memory map in STM32L4R9xx datasheet DS12023 https://drive.google.com/file/d/1SXgBwglsO_yOf...
- Fri Feb 28, 2020 7:59 am
- Forum: General Discussion and Questions
- Topic: [Solved]Error when running the same code on Linux and IDE
- Replies: 7
- Views: 3082
Re: Error when running the same code on Linux and IDE
Hi Jimmo, Yes surely i run the code on STM32L4R9I Discovery. With IDE i mean that I compiled and build the code, then load it to the board and run. And by Linux, I mean that i build LCD module in C language, translate it into MicroPython modules, compile the code. An then I write MicroPython command...
- Fri Feb 28, 2020 4:50 am
- Forum: General Discussion and Questions
- Topic: [Solved]Error when running the same code on Linux and IDE
- Replies: 7
- Views: 3082
[Solved]Error when running the same code on Linux and IDE
Hello everyone, I am Huy. Currently, I am working on a project of writing a display module in C language and then translate it into MicroPython modules. On both platform (IDE and Linux), I already compiled and included HAL library as well as BSP Discovery library. The problem is: with the same .c fi...
- Wed Feb 26, 2020 1:45 am
- Forum: General Discussion and Questions
- Topic: [Error] Linux: when including a function from BSP Disocvery library
- Replies: 4
- Views: 2341
Re: [Error] Linux: when including a function from BSP Disocvery library
Hi Jimmo, Thanks for your response. My team figured out the error and solved it already. On IDE (we used STM32CubeIDE), when we configure the board and the project, there is a file called stm32l4xx_hal_conf.h created by the template stm32l4xx_hal_conf_template.h in Inc of the Hal library. As far as ...
- Tue Feb 25, 2020 2:33 am
- Forum: General Discussion and Questions
- Topic: [Error] Linux: when including a function from BSP Disocvery library
- Replies: 4
- Views: 2341
Re: [Error] Linux: when including a function from BSP Disocvery library
https://drive.google.com/open?id=1XmQFz ... jO5cGB6Jrh
Hi Jimmo,
Sorry the picture cannot be seen. Here is the error.
Hi Jimmo,
Sorry the picture cannot be seen. Here is the error.
- Mon Feb 24, 2020 10:53 am
- Forum: General Discussion and Questions
- Topic: [Error] Linux: when including a function from BSP Disocvery library
- Replies: 4
- Views: 2341
[Error] Linux: when including a function from BSP Disocvery library
Hi everyone, I am Huy. Currently, I am working with micropython on Linux. I am trying to build an LED module and an LCD module. The content of LED and LCD files base on the BSP Discovery library. (https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Drivers/BSP/STM32L4R9I-Discovery) when i ...
- Thu Feb 13, 2020 10:06 am
- Forum: Programs, Libraries and Tools
- Topic: Add stm32l4r9i_discovery library to Micropython
- Replies: 0
- Views: 1710
Add stm32l4r9i_discovery library to Micropython
Hi everyone, I am Huy. Currently, I am working with LittlevGL and Micropython on the repo lv_micropytho( https://github.com/littlevgl/lv_micropython) I have a display module that is written based on the Discovery library. The board I am using is STM32L4R9I Discovery I want to ask how to add the Disc...
- Wed Dec 04, 2019 7:35 am
- Forum: General Discussion and Questions
- Topic: [Solved]Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
- Replies: 6
- Views: 3552
Re: Display PYFLASH of STM32L4R9IDISC in Ubuntu/Window
If you had non-micropython firmware flashed on the board before flashing micropython, then you should do a mass erase and then flash micropython. Or factory reset the filesystem as documented here: http://docs.micropython.org/en/latest/wipy/tutorial/reset.html#factory-reset-the-filesystem Whwn you ...