Search found 48 matches

by roland_vs
Sun Jun 11, 2017 12:52 pm
Forum: General Discussion and Questions
Topic: iPad version?
Replies: 1
Views: 144

iPad version?

Dear all,

Is somebody working on an Apple iPad version of micropython?

Regards,

Roland
by roland_vs
Wed Jun 07, 2017 10:25 am
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 14
Views: 637

Re: STM32L467DISC port not working?

It works, however using JTAG to program the image rather than dfu-util, the aforementioned "patch" combined with the randomness of dfu-util showed that it worked, but was not the root cause. So if I have time I will check other "dfu" programs (like python version) to see at which...
by roland_vs
Tue May 30, 2017 1:50 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 14
Views: 637

Re: STM32L467DISC port not working?

I have it working now. It seems that the dfu-util/bootloader via USB experiences some problems. It does load w/o any errors, but the code does not run as expected: - constantly rebooting when USB cable attached - when USB removed REPL via UART can be used, however no file system, crashes randomly wh...
by roland_vs
Tue May 30, 2017 1:40 pm
Forum: Other Boards
Topic: MICROPHY_HW_FLASH_LATENCY compile error
Replies: 1
Views: 128

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: 14
Views: 637

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: 14
Views: 637

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: 14
Views: 637

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: 14
Views: 637

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 p...
by roland_vs
Wed May 10, 2017 2:08 pm
Forum: Other Boards
Topic: STM32L467DISC port not working?
Replies: 14
Views: 637

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: 14
Views: 637

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...

Go to advanced search