Search found 27 matches

by Heliotopos
Wed Mar 21, 2018 1:46 pm
Forum: NetBurner Software
Topic: Convert F_FILE * to FILE * or file descriptor?
Replies: 3
Views: 2252

Re: Convert F_FILE * to FILE * or file descriptor?

Exactly what I was looking for, thanks!
by Heliotopos
Tue Mar 20, 2018 7:36 am
Forum: NetBurner Software
Topic: Convert F_FILE * to FILE * or file descriptor?
Replies: 3
Views: 2252

Convert F_FILE * to FILE * or file descriptor?

Is it possible to convert the F_FILE * returned by the EFFS f_open() function to a FILE * or file descriptor? I'd like to use either vfprintf() with the former or ReplaceStdio() with the latter to print to my files.
by Heliotopos
Mon Mar 19, 2018 8:51 am
Forum: Off-Topic
Topic: Integrating a camera?
Replies: 1
Views: 3766

Integrating a camera?

Has anyone had any success integrating an embedded camera module with a Netburner board? I'd like to capture video and stills, ideally in HD. I've seen UART cameras and understand that they're limited in resolution. Looking for something more on the order of the Raspberry Pi's camera.
by Heliotopos
Tue Aug 01, 2017 11:51 am
Forum: NetBurner Software
Topic: f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4
Replies: 7
Views: 3856

Re: f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4

It's possible... get_cd() is being called with no parameters and I haven't found the default argument or overloaded function so I don't know what's being passed in for the CurrentDrive param. That said, get_cd() doesn't return 0 with a card present. It's the subsequent call to f_mountfat() which fai...
by Heliotopos
Mon Jul 31, 2017 9:34 am
Forum: NetBurner Software
Topic: f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4
Replies: 7
Views: 3856

Re: f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4

Thanks for the reply. I did as you suggested and ran your _APP.s19 on a Nano and SD card using the NB carrier board, and everything worked fine. I compared the schematics between our custom board and the Nano carrier board, and it looks like we're using pin 15 for the card detect/data 3 line (the Na...
by Heliotopos
Thu Jul 27, 2017 7:18 am
Forum: NetBurner Software
Topic: f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4
Replies: 7
Views: 3856

f_mountfat returns F_ERR_NOTFORMATTED under NNDK 2.8.4

I have a legacy project built with NNDK 2.6.5 running on a custom board with a Nano and an FAT32 micro SD card. The Nano is able to access the file system just fine. I compiled a new project with NNDK 2.8.4, and I'm not able to access the same card on the same hardware. f_mountfat returns F_ERR_NOTF...
by Heliotopos
Wed Oct 29, 2014 12:44 pm
Forum: NetBurner Software
Topic: f_open() fails in NNDK 2.6
Replies: 1
Views: 2037

f_open() fails in NNDK 2.6

We've got a project built against NNDK 2.6 with a Nano target, and some (but not all) f_open() calls to read and write are returning NULL when they shouldn't. This is a port of a project built against NNDK 2.5.3/MOD5234, and those same calls work as expected. I believe we're calling f_enterFS() and ...
by Heliotopos
Wed Oct 08, 2014 2:36 pm
Forum: NetBurner Hardware
Topic: SPI SD card is very slow with Nano
Replies: 2
Views: 3102

Re: SPI SD card is very slow with Nano

Good suggestion. Turns out it works great on the NetBurner board - file write takes about 2 seconds and f_format() about 34, which makes sense given the 17 seconds for the 2GB SD mentioned earlier. Looks like it is the custom board. Thanks!
by Heliotopos
Wed Oct 08, 2014 12:09 pm
Forum: NetBurner Hardware
Topic: SPI SD card is very slow with Nano
Replies: 2
Views: 3102

SPI SD card is very slow with Nano

I have a Nano-based project that reads and writes to a micro SD card on a custom board. This project was migrated from a MOD5234-based one on a different custom board that used an SD (not micro) card in SPI mode. The board for the Nano project was designed for 4-bit SD mode. My understanding is that...
by Heliotopos
Fri Aug 08, 2014 8:55 am
Forum: NetBurner's Eclipse IDE
Topic: Why can't linker find gettimeofday?
Replies: 6
Views: 8913

Re: Why can't linker find gettimeofday?

I never did find gettimeofday(); no idea why a forward declaration would be included in time.h but no definition provided in the standard library. UnitTest++ was using gettimeofday() for a simple timer, so I just rewrote that bit using time() and difftime(). If anyone else runs into this problem tha...