Search found 84 matches

by yevgenit
Fri Oct 22, 2010 1:39 am
Forum: NetBurner Software
Topic: SPI Chip Selects
Replies: 6
Views: 5263

Re: SPI Chip Selects

Honestly, the CS concept for the QSPI is very limiting. I have written a QSPI driver for an MCF5225x that totally bypasses the QSPI CS handling and uses GPIO for CS. First of all, you are no longer limited to the 4 CSs (and don't have to add external hardware to support up to 16 SPI devices). You a...
by yevgenit
Mon Oct 18, 2010 9:06 pm
Forum: NetBurner Software
Topic: Example of background calling the user functions?
Replies: 8
Views: 4358

Re: Example of background calling the user functions?

rnixon and Ridgeglider, thanks for excellent introduction to the (new for me) method of event-driven communication between the low level and the middle level using QS flags. The method with select(), as I understand, is implemented in the library "Command Processor", which was successfuly ...
by yevgenit
Mon Oct 18, 2010 1:33 am
Forum: NetBurner Software
Topic: Example of background calling the user functions?
Replies: 8
Views: 4358

Re: Example of background calling the user functions?

Ridgeglider, Some events will be generated by certain background processing of UART and Telnet input. The library's Command Processor is proven to be suitable for this subsystem during my previous project. Is exist proven way to arrange as FDs (virtual serial ports?) those event sources, which imple...
by yevgenit
Mon Oct 18, 2010 12:17 am
Forum: NetBurner Software
Topic: Example of background calling the user functions?
Replies: 8
Views: 4358

Inpus for generating events by backgound processing

rnixon, I intend to generate most of the events by some background processing of analog and digital inputs. The other events will be generated by some background processing of UART input. The system deadline is 10 ms to 100 ms. My primary interest is a good arrangement of the event flow from the low...
by yevgenit
Sun Oct 17, 2010 2:38 am
Forum: NetBurner Software
Topic: Example of background calling the user functions?
Replies: 8
Views: 4358

Example of background calling the user functions?

Can somebody recommend a good code and documentation for template (or example) of background recognition of some events and calling the user-filled functions?
The library Telnet/Serial Command Processor is seem too complex for such a template.
by yevgenit
Mon Aug 30, 2010 3:45 am
Forum: NetBurner Software
Topic: Problems using EPORT IRQ5 and IRQ7 on MOD5270
Replies: 13
Views: 7483

Re: Problems using EPORT IRQ5 and IRQ7 on MOD5270

From Freescale forum by taigbr (http://forums.freescale.com/t5/68K-ColdFire-reg-Microprocessors/IRQ1-stops-occuring-due-to-IRQ7/m-p/36031#M5324): "There is a nice table explaining level and priority in the 5275 manual addendum: http://www.freescale.com/files/32bit/doc/ref_manual/MCF5275RMAD.pdf...
by yevgenit
Mon Aug 30, 2010 3:00 am
Forum: NetBurner Software
Topic: Problems using EPORT IRQ5 and IRQ7 on MOD5270
Replies: 13
Views: 7483

Re: Problems using EPORT IRQ5 and IRQ7 on MOD5270

My application uses IRQ5, IRQ3, and IRQ1 pins as the external interrupt sources using NB INTERRUPT macro. No problem with IRQ5 is detected. Even if something (other than the EPORT, which would use the same vector)) is using IRQ5, you should be able to add another ISR at level 5 by varying the priori...
by yevgenit
Fri Jul 16, 2010 11:01 pm
Forum: NetBurner Software
Topic: Can i use Port 80 for an TCP Connection ?
Replies: 9
Views: 4463

Re: Can i use Port 80 for an TCP Connection ?

Why to violate the regular network behavior?
HTTP is intended for short transactions. After finishing the HTTP transaction, close the connection. The running HTTP service is listening for a future connection at port 80.
by yevgenit
Thu Jul 15, 2010 10:28 pm
Forum: NetBurner Software
Topic: Can i use Port 80 for an TCP Connection ?
Replies: 9
Views: 4463

Re: Can i use Port 80 for an TCP Connection ?

Do you need Telnet connection without the well known TCP port 23?
Why to confuse with port 80, which is well known for HTTP?
You can arrange any unused TCP port.
See http://www.iana.org/assignments/port-numbers
by yevgenit
Sun Jun 27, 2010 11:35 pm
Forum: NetBurner Software
Topic: resetting the I2C bus
Replies: 3
Views: 4351

Re: resetting the I2C bus - fix

The following method of I2C software reset is recommended by Atmel: (Taken from http://www.atmel.com/dyn/resources/prod_documents/doc5297.pdf) Software Reset: After an interruption in protocol, power loss or system reset, any 2-wire part can be protocol reset by following these steps: (a) Create a s...