Search found 85 matches

by roland_vs
Tue May 30, 2017 1:40 pm
Forum: Other Boards
Topic: MICROPHY_HW_FLASH_LATENCY compile error
Replies: 1
Views: 775

MICROPHY_HW_FLASH_LATENCY compile error

Just a minor thing but if one omits the MICROPY_HW_FLASH_LATENCY in the mpconfigboard.h of the STM32L476xx related boards an error pops up when compiling. See the files in /hal/L4/inc/stm32l4xx_hal_flash.h and /hal/F4/inc/stm32f4xx_hal_flash_ex.h for more. I added this at two places to resolve it. I...
by roland_vs
Mon May 29, 2017 11:27 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

STM32L476DISC port peculiarities?

Dear, I have compiled the latest of mpy and flashed it into the STM32L476DISC board. I once had it working, Flash drive and all, but after erasing and updating again it did not work anymore. There is some odd behaviour (not related to the version 1.9.4). No connection to the microUSB and using the R...
by roland_vs
Thu May 11, 2017 9:34 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

Re: STM32L467DISC port not working?

@marfis Those many #defines do not always help readability. I will check your remark. The external Flash on the 476DISC board seems to be initialised the right way for use with pyb.Flash(), but not as an extension to the memory space of the L476 after first reading. I will look into this a little mo...
by roland_vs
Thu May 11, 2017 2:03 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

Re: STM32L467DISC port not working?

@dhylands I found out where the problem is. I checked out the /stmhal/storage.c. The addition for the STM32L476 has a nice way of defining two externals from were two pointers are derived that sets the start and the end of the allocated Flash storage. As this is the only real difference compared to ...
by roland_vs
Wed May 10, 2017 7:29 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

Re: STM32L467DISC port not working?

@dhylands Dear Dave, I used the micro-USB to do the dfu-util programming. The effect I see is that a "perfectly" compiled mpy using the BOARD=STM32L476DISC is not working. I cannot see the internal Flash, the Flash on the discovery board. I have REPL access, but after for instance import pub, dir(pu...
by roland_vs
Wed May 10, 2017 2:08 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

Re: STM32L467DISC port not working?

Dear @shaoziyang,

Thanks for the tip. With other tools you mean something like JTAG instead of the embedded boot loader of the chip?

Regards,

Roland
by roland_vs
Wed May 10, 2017 11:12 am
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 16
Views: 4597

STM32L467DISC port not working?

Dear all, I have compiled 1.8.7 and loaded using dfu-util on my pyboard10 (reference) and it is working as expected. If I compile for the BOARD=STM32L476DISC it compiles fine and generates a file w/o a problem. I upload it using dfu-util in the same way (just make deploy) it is programmed onto the c...
by roland_vs
Sat Mar 18, 2017 6:24 pm
Forum: MicroPython pyboard
Topic: Design my own pyboard, basic questions..
Replies: 9
Views: 3439

Re: Design my own pyboard, basic questions..

I have designed a few boards with the STM32 (407/429) (but also other ARMs) and standardised on using the Tag Connect TC2030 connection with either locking holes when there is room on the PCB, or just the 6 contacts only. It allows for +/-/SWDIO/SWCLK/RXD/TXD. It is time/cost/room saving and I perso...
by roland_vs
Fri Mar 17, 2017 11:40 am
Forum: General Discussion and Questions
Topic: compiling latest mpy on OSX fails on frozen
Replies: 2
Views: 832

Re: compiling latest mpy on OSX fails on frozen

Thanks it works.

One observation is that the files in stmhal/modules/ appears in the file system as aliases (links) to the drivers/display directory rather than a file that holds a reference to the directory or the source code itself (as copy).

MPY is getter better and better! Great work!
by roland_vs
Fri Mar 17, 2017 9:34 am
Forum: General Discussion and Questions
Topic: compiling latest mpy on OSX fails on frozen
Replies: 2
Views: 832

compiling latest mpy on OSX fails on frozen

I just updated my micropython source to the latest revision, and tried to compile it on OSX. I cannot get beyond the part where the modules (in this case the display) need to be build into frozen code. I did make clean first in stmhal . Then just make to build the code for the PYB10 board. Somewhere...