Search found 11 matches

by 0st3n
Tue Nov 10, 2015 10:00 am
Forum: STM32 Support
Topic: STM32F429 FatFs reading random chars
Replies: 2
Views: 2114

Update on the problem

Update
Well today, i figured out that the problem only occurs if i'm trying to read any number amount of chars than 512 (Fits with the size of a sector)
So i have found a work around, by creating my own read string function. Since the read string function provided by the FATFS reads 1 and 2 chars ...
by 0st3n
Mon Nov 09, 2015 2:50 pm
Forum: STM32 Support
Topic: STM32F429 FatFs reading random chars
Replies: 2
Views: 2114

Re: STM32F429 FatFs reading random chars

I've now bought a new board, and tried again.
And still getting the error. Next step will be buying some different SD cards, to test with.
by 0st3n
Thu Oct 29, 2015 12:07 pm
Forum: STM32 Support
Topic: STM32F429 FatFs reading random chars
Replies: 2
Views: 2114

STM32F429 FatFs reading random chars

I've posted a bit ago in here with FATFS misbehaving, iv'e tried with different brands and size of SD card, both formatted as FAT16, and FAT32.
But still getting some semi random characters read out, but always same sequence of bytes.

If any one who have some time to spare to either run the code on ...
by 0st3n
Mon Oct 05, 2015 2:34 pm
Forum: STM32 Support
Topic: STM32F429 FatFs misbehaving
Replies: 5
Views: 2724

Re: STM32F429 FatFs misbehaving

I've now tried with two different brands (Kingston and Transcend) and still the same.
by 0st3n
Mon Oct 05, 2015 1:59 pm
Forum: STM32 Support
Topic: STM32F429 FatFs misbehaving
Replies: 5
Views: 2724

Re: STM32F429 FatFs misbehaving

Yea, i have 2 brand new kingston sd cards, and the error is with both of them.
by 0st3n
Mon Oct 05, 2015 1:40 pm
Forum: STM32 Support
Topic: STM32F429 FatFs misbehaving
Replies: 5
Views: 2724

STM32F429 FatFs misbehaving

When i try to read a file with FATFS on a sd card attached through SPI.
I get a weird error, starting from when i have read the first 47 bytes, then there will be 56 bytes of data, which is not in my file, and the the text from my file starts again. This happens for every 512 bytes.

The 56 bytes ...
by 0st3n
Fri Sep 04, 2015 3:59 pm
Forum: ChibiOS/RT
Topic: Chibios + LWIP - No broadcast
Replies: 1
Views: 2839

Chibios + LWIP - No broadcast

For 1 week ago, the broadcast worked fine for me with the same code. Then i started adding some code for TCP usage, and know my broadcaster code dosn't work anymore. I have tried with both IP_ADDR_BROADCAST instead of an IP and used 255.255.255.255 as an ip. Still dosn't work. But if i set it to my ...
by 0st3n
Thu Sep 03, 2015 10:09 am
Forum: ChibiOS/RT
Topic: HAL watchdog implementation
Replies: 1
Views: 2351

HAL watchdog implementation

Does there exist any official watchdog implementation for ChibiOS ?

And if not, can any one recommend an opensource implementation ?
by 0st3n
Wed Aug 26, 2015 1:21 pm
Forum: STM32 Support
Topic: chMBPost is hanging STM32F429iDiscovery
Replies: 5
Views: 3004

Re: chMBPost is hanging STM32F429iDiscovery

Thanks, now i got the network working, and able to send udp broadcast.

I have copied the lwipopts.h from the demo project you referred to.
But even after i called the
lwipInit(NULL);
then i'm not able to ping the board. It doesn't seem to answer on the ARP requests. Do you know what could be ...
by 0st3n
Tue Aug 25, 2015 1:59 pm
Forum: STM32 Support
Topic: chMBPost is hanging STM32F429iDiscovery
Replies: 5
Views: 3004

Re: chMBPost is hanging STM32F429iDiscovery

Hi,

What ChibiOS version are you using? this is likely an initialization order issue, the mailbox is used before it is initialized.

In 3.0.1 there is a new initialization method that should avoid that issue.

Giovanni

It's the version 3.0.1. Witch init function should i use for having the LWIP ...