Search found 25 matches

by romeo
Sun Feb 10, 2019 9:52 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Which cache are you referring to? It looks like the flash memory on the STM32F303xC is arranged as 128 pages of 2Kbytes each. On the F4 it has much larger flash blocks, so the 64K CCM memory winds up getting used for the filesystem. On the F303 it looks like there is 40K of SRAM and 8K of CCM SRAM....
by romeo
Sun Feb 10, 2019 8:04 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hi!
Just finished the dac and adc!
The only thing I cannot figure out where to set the cache and how big should be ...

The rest is updated on github.

Any suggestion for the cache?

Thanks,
Romeo
by romeo
Sat Feb 09, 2019 4:50 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Ok. It seems legit.

I try this with the flash.c flashdev.c ... also

Thanks for the tip,
Romeo
by romeo
Sat Feb 09, 2019 4:38 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Ok. Applied patch. Returned to old _af csv (with CAN, not CAN1).
Updated repository.
Can't figure out if F3 has DMA_Stream or DMA_Channel ...
by romeo
Sat Feb 09, 2019 4:05 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hi, Thank you. I came around with CAN by naming it CAN1 (since is the only one). For LED I doubled the LED3 and named it LED2. On the board LED1 and 2 are attached to ST-LINK programmer. Now seems to be and error of dma, flash, ... and I stoped the script to get the screenshot. I updated the reposit...
by romeo
Sat Feb 09, 2019 8:59 am
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hi!

I have updated the mpconfigboard_common.h with the data found in the reference manual.

Now I got stuck here:
20190209.PNG
20190209.PNG (23.05 KiB) Viewed 1144 times
Thanks,
Romeo
by romeo
Fri Feb 08, 2019 8:35 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hi,

Ok the error now is that the MCU is unsupported!
Got into the mpconfigboard_common.h and I saw that mine is not supported.

These variables are missing:

Code: Select all

MP_HAL_UNIQUE_ID_ADDRESS
PYB_EXTI_NUM_VECTORS
MICROPY_HW_MAX_TIMER
MICROPY_HW_MAX_UART
Any hints?

Thanks,
Romeo
by romeo
Fri Feb 08, 2019 5:20 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

dhylands wrote:Romeo - can you give me a pointer to your micropython repository and stm32lib repository? And the name of the board you were trying to build?
Hello!

The board I have is STM32F3 DISCOVERY.
The github repository is https://github.com/sfynxu/stm32f3discovery_upy

Thanks,
Romeo




by romeo
Thu Feb 07, 2019 6:32 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hi all, I got stuck here: Reading makefiles... Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Updating goal targets.... File 'all' does not exist. File 'build-STM32F3DISC/firmware.dfu' does not exist. File 'build-STM32F3DISC/firmware.elf' does not exist. File 'bui...
by romeo
Wed Feb 06, 2019 4:27 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 46
Views: 8628

Re: STM32F3 ports

Hello!
@mapy I just finished the csv file for stm32f303.
Are there any other modifications to do?

Thank you,
Romeo