Search found 15 matches
- Wed May 15, 2013 2:45 pm
- Forum: LCD Driver and Graphic Framework
- Topic: SSD1322
- Replies: 2
- Views: 5934
SSD1322
Hi ! One day, One problem. Today I look for writing a Gfx driver for my ssd1322 Oled display. May be I say bullshit but this is what I have understand about the display : - The display have a 4 bpp depth, so I need to have 2 pixels for sending one data byte. - Worst : Columns are addressing 4 by 4 (...
- Tue May 14, 2013 12:41 pm
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
I have my problem ! I used a uint8_t * for the returned number of written bytes instead of uint16_t *
Now It work perfectly
Thanks for help ! Goto Next step
Now It work perfectly
Thanks for help ! Goto Next step
- Tue May 14, 2013 12:28 pm
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
I like gdb, I can see thread free memory now. Breakpoint 1, sWriteToFile (_this=0x2000087c, logLevel=Error, fmt=0x8030a84 "SD Card mounted", ap=...) at Log/file_logger.c:184 184 FileLogWriter *flw = (FileLogWriter*) _this; (gdb) n 186 __CHECK_AND_ROLLBACK(flw); (gdb) 191 FRESULT err = 0; (...
- Mon May 13, 2013 5:12 pm
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
Ok I have seen the linker script, but I think 1024 bytes is enought. At this point, my main thread and logger thread can open files but can't write in it. (no hang, fs_type from file descriptor and device don't match). So I go back to my problem. Unfortunately DrunkenDonkey, I haven't windows comput...
- Mon May 13, 2013 10:06 am
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
Yes there is a difference, I have changed the logger stack size : -O2 : ChibiOS/RT Shell ch> mem core free memory : 73848 bytes heap fragments : 1 heap free total : 512 bytes wa_logger_daemon total : 1199 bytes wa_logger_daemon free : 884 bytes wa_lwip_thread total : 612 bytes wa_lwip_thread free : ...
- Sun May 12, 2013 6:17 pm
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
I have some news. So I just added a small opening/writing code in the main thread of ARMCM4x_STM32F407_LWIP_FATFS_USB and it works (with "0:/test.log" and "test.log") Then I have sripped all my modifications in my project (based on ARMCM4x_STM32F407_LWIP_FATFS_USB too) but I miss...
- Sun May 12, 2013 7:45 am
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
I can accept that, but it is not a custom board, I think Olimex test their board ?
And why can I list file on SD ?
And why can I list file on SD ?
- Fri May 10, 2013 11:06 am
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
Re: FarFs f_open freeze
This is the origin : (gdb) b sdc_lld_send_cmd_short_crc Breakpoint 1 at 0x8008b20: file ../ChibiOS_2.5.1/os/hal/platforms/STM32/sdc_lld.c, line 542. (gdb) target remote :3333 Remote debugging using :3333 ResetHandler () at ../ChibiOS_2.5.1/os/ports/GCC/ARMCMx/crt0.c:253 253 asm volatile ("cpsid...
- Fri May 10, 2013 10:24 am
- Forum: General Support
- Topic: FarFs f_open freeze
- Replies: 17
- Views: 11307
FarFs f_open freeze
Hi, I have another little problem. I work on a file logger and I can't open a file, I just completed the InsertHandler for ttsting purpose : static void InsertHandler(eventid_t id) { FRESULT err; (void)id; /* * On insertion SDC initialization and FS mount. */ if (sdcConnect(&SDCD1)) return; err ...
- Tue May 07, 2013 10:56 am
- Forum: General Support
- Topic: Lwip + HTML CGI + LED
- Replies: 2
- Views: 5342
Re: Lwip + HTML CGI + LED
The httpserver_raw app included in lwip contribution is ready for cgi callback : http://ftp.igh.cnrs.fr/pub/nongnu//lwip ... -1.4.1.zip
just call the httpd_init() function in the thread.
just call the httpd_init() function in the thread.