Search found 23 matches

by romeo
Thu Mar 28, 2019 8:57 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Hi! Solved the timer, stuck on dma!

Any help is welcome !
:-)


by romeo
Sat Mar 02, 2019 12:46 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Hi! I was reading through documentation and I fail to solve this step: timer.c:764:15: error: array index in initializer exceeds array bounds TIM_ENTRY(15, TIM15_IRQn), ^ timer.c:710:29: note: in definition of macro 'TIM_ENTRY' #define TIM_ENTRY(id, irq) [id - 1] = (uint32_t)TIM##id | irq ^~ timer.c...
by romeo
Wed Feb 20, 2019 8:24 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Hi!

Managed to pass by powerctrl.c compilation.
File timer.c is next.
Probably reference manual will contain a solution!

Current status is on github.

Regards,
Romeo
by romeo
Thu Feb 14, 2019 10:36 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Yes! It seems to be different from STM32F091 also...
Probably I'll have to find a book for getting around this kind of issues ...
Nothing I used to know seems to look like c language used in here!
Is there any porting guide for uPy? Google didn't help with this either.

Thank you!
Romeo
by romeo
Wed Feb 13, 2019 7:27 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Ok. Tried that. Still the errors appears!
20190213.PNG
20190213.PNG (19.93 KiB) Viewed 178 times
Thanks,
Romeo
by romeo
Tue Feb 12, 2019 8:46 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Hi,
I made one step forward, but still in error!
Can't figure out what should be in here!
I've tried to compare with files on st.com ... but it doesn't seem to work!
Any ideas?

Thanks,
Romeo
20190212_01.PNG
20190212_01.PNG (31.71 KiB) Viewed 189 times
by romeo
Mon Feb 11, 2019 7:10 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

Solved one!
Got another error!
20190211_01.PNG
20190211_01.PNG (16.58 KiB) Viewed 216 times
Thanks,
Romeo
by romeo
Sun Feb 10, 2019 10:09 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

Re: STM32F3 ports

dhylands wrote:I'd use the 8K CCM SRAM for the flash cache.
Ok. I'll give a try tomorrow. If succeeded, I'll let you know!
by romeo
Sun Feb 10, 2019 9:52 pm
Forum: Other Boards
Topic: STM32F3 ports
Replies: 44
Views: 3092

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: 44
Views: 3092

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