Search found 333 matches
- Wed Feb 02, 2011 7:24 pm
- Forum: NetBurner Software
- Topic: SD card corruption when run in release mode
- Replies: 19
- Views: 13241
Re: SD card corruption when run in release mode
Hi I tried to set optimisation only for the project and same result. I then found the MAKE files for the system files and as a test I set this to NONE and still the same result. The optimisation has been reset to the default. The issue is that I can't debug into fatmount so I am unable to determine ...
- Wed Feb 02, 2011 6:54 pm
- Forum: NetBurner Software
- Topic: SD card corruption when run in release mode
- Replies: 19
- Views: 13241
Re: SD card corruption when run in release mode
Hi all, Thanks for the ideas. The optimisation in release mode was set to most (-O2) so I have set this back to NONE as a start. The question I have is how to set optimisation for the system files. If I set the option in the project and then choose rebuild all, does it apply this or do I need to mak...
- Wed Feb 02, 2011 6:38 am
- Forum: NetBurner Software
- Topic: SD card corruption when run in release mode
- Replies: 19
- Views: 13241
SD card corruption when run in release mode
Hi All, I have an issue with the SD card in that when running in debug it works fine with no errors. This is the output from debug of the files on the SD card FAT mount to SD/MMC successful SD/MMC drive change successful Files on disk: ------------------------------------------ File [DATALOG.TXT] : ...
- Wed Jan 05, 2011 5:03 am
- Forum: NetBurner Software
- Topic: Using the CAN bus
- Replies: 22
- Views: 16447
Re: Using the CAN bus
1. Who should calculate CRC of CAN-frame? Application or the CAN-adapter? 2. Who should care about bit stuffing? Or an application should supply only "Arbitration field (COB-ID + RTR bit)" + "Data field" and all remain work will be fulfilled by the CAN-adapter? Arbitration field...
- Mon Jan 03, 2011 8:58 am
- Forum: NetBurner Software
- Topic: 5234 and 485 Multidrop Mode
- Replies: 3
- Views: 2439
Re: 5234 and 485 Multidrop Mode
Thanks for the response. I am using a National DS75176B tranciever. I'm not too worried about the reflection because it's predicatble and constant so it's not too hard to account for. I know them well. I used them on a design last year. Drop in replacment for the MAX485 devices. If you connect the ...
- Fri Dec 31, 2010 11:17 pm
- Forum: NetBurner Software
- Topic: 5234 and 485 Multidrop Mode
- Replies: 3
- Views: 2439
Re: 5234 and 485 Multidrop Mode
Hi, What RS485 driver IC are you using? Normally you control TX and RX of these with either the RTS line or a GPIO pin. If you are using something like the MAX485 type devices, then during TX you should not see any RX data because the RX is disables. If you are using 2 drivers then this would explai...
- Thu Dec 23, 2010 9:36 am
- Forum: NetBurner Software
- Topic: Serial Input on MOD5270
- Replies: 5
- Views: 3604
Re: Serial Input on MOD5270
I don't see any OSTimeDly in your code to yield to other tasks (assuming more than 1) either so it is possible that you are just running much faster through your loop than the data is available. What is your baud rate for the serial port? I am not familiar with SELECT as I have not used this. Chris ...
- Wed Dec 22, 2010 7:35 am
- Forum: NetBurner Software
- Topic: priority question
- Replies: 9
- Views: 5604
Re: priority question
Hi there, This is some of the code I used. Based on the recommendation from Netburner, what I did was put an OSCritEnter in the routine that sets the CHIP select for the device I want to communicate with. The OSCritLeave goes in the release call for chip select. Here is the code for it. void ts_spi_...
- Tue Dec 21, 2010 8:25 pm
- Forum: NetBurner Software
- Topic: priority question
- Replies: 9
- Views: 5604
Re: priority question
One thing that I ended up having to do was to change the libraries, even though the second link from Larry shows that I managed without this. It seems that the FFS uses different SPI speeds and this was causing my touch screen driver to fail. I ended up having to use a CriticalSection and some code ...
- Mon Dec 20, 2010 11:45 pm
- Forum: NetBurner Software
- Topic: Using the CAN bus
- Replies: 22
- Views: 16447
Re: Using the CAN bus
Thanks Roland,
I'll away and download the data from the Freescale website. I am considering writing my own functions or to add functionality as required. Once I see the register arrangement for the CAN perphheral I can work it out.
Cheers for the heads up on the App Note.
Dave...
I'll away and download the data from the Freescale website. I am considering writing my own functions or to add functionality as required. Once I see the register arrangement for the CAN perphheral I can work it out.
Cheers for the heads up on the App Note.
Dave...