Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please ask your question here.


 
GeneralRe: Anybody watching Halt and Catch Fire on TV? PinprotectorOriginalGriff10-Jul-14 4:56 
GeneralRe: Anybody watching Halt and Catch Fire on TV? PinmemberAbu Mami10-Jul-14 5:16 
GeneralRe: Anybody watching Halt and Catch Fire on TV? PinprotectorOriginalGriff10-Jul-14 5:19 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pinmemberdexterama10-Jul-14 5:27 
GeneralRe: Anybody watching Halt and Catch Fire on TV? PinprotectorOriginalGriff10-Jul-14 5:42 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pinmemberstgagnon10-Jul-14 6:06 
GeneralRe: Anybody watching Halt and Catch Fire on TV? PinprofessionalRavi Bhavnani10-Jul-14 7:09 
GeneralNow this is when programming is fun! [modified] PinprotectorMarc Clifton10-Jul-14 3:08 
My client is planning on using the BeagleBone Black for the kiosk controller in dance clubs, and we've been working on getting the BBB to talk over RS232 to the MEI bill acceptor, which has this nutso protocol of using the parity bit to distinguish the command byte from the data and checksum bytes.
 
Now, we were having problems with getting the parity bit to work, which of course means pulling out the scope and seeing what's going on. Problem is, he's in San Diego CA and I'm in Philmont NY.
 
No problem! He has this scope that dumps the trace into a UI on Windows and has a cool UI for controlling the scope from Windows as well. So last night:
 
1. remote in using (in this case) GoToMyPC
2. fire up Eclipse on Windows using gcc-linaro for the ARM cross-compiler
3. set up the scope remotely to trigger on the RS232 send from the BBB and also monitor on a second probe the response
4. play around with sending some commands and data and take a look at what the parity bit is doing on the wire.
 
Turns out the BBB doesn't support this undocumented feature to "stick" the parity bit into either Mark or Space parity. Instead, I modify the little C test program to set even/odd parity based on the # of bits in each byte, and voila! It worked!
 
And that is why there are times this job of software development is truly fun and amazing (and very very geeky), when you put various pieces of technology together to solve problems, and it can be done nowadays from 3000 miles away!
 
Marc


modified 10-Jul-14 8:15am.

GeneralRe: Now this is when programming is fun! PinprofessionalRage10-Jul-14 3:21 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 3:29 
GeneralRe: Now this is when programming is fun! PinprofessionalRage10-Jul-14 3:34 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 3:47 
GeneralRe: Now this is when programming is fun! PinsitebuilderAndy Brummer10-Jul-14 6:26 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 8:51 
GeneralRe: Now this is when programming is fun! PinsitebuilderAndy Brummer10-Jul-14 9:28 
GeneralRe: Now this is when programming is fun! PinprotectorOriginalGriff10-Jul-14 3:44 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 3:50 
GeneralRe: Now this is when programming is fun! PinprotectorOriginalGriff10-Jul-14 4:05 
GeneralRe: Now this is when programming is fun! PinprofessionalNagy Vilmos10-Jul-14 4:07 
GeneralRe: Now this is when programming is fun! PinprotectorOriginalGriff10-Jul-14 4:20 
GeneralRe: Now this is when programming is fun! PinmemberDisplay Name Taken10-Jul-14 4:21 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 4:11 
GeneralRe: Now this is when programming is fun! Pinmemberyousafzai amazai10-Jul-14 4:14 
GeneralRe: Now this is when programming is fun! PinprotectorOriginalGriff10-Jul-14 4:17 
GeneralRe: Now this is when programming is fun! PinprofessionalglennPattonWork10-Jul-14 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 31 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid