Click here to Skip to main content
15,893,487 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
OriginalGriff10-Jul-14 3:56
mveOriginalGriff10-Jul-14 3:56 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
Abu Mami10-Jul-14 4:16
Abu Mami10-Jul-14 4:16 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
OriginalGriff10-Jul-14 4:19
mveOriginalGriff10-Jul-14 4:19 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
dexterama10-Jul-14 4:27
professionaldexterama10-Jul-14 4:27 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
OriginalGriff10-Jul-14 4:42
mveOriginalGriff10-Jul-14 4:42 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
stgagnon10-Jul-14 5:06
stgagnon10-Jul-14 5:06 
GeneralRe: Anybody watching Halt and Catch Fire on TV? Pin
Ravi Bhavnani10-Jul-14 6:09
professionalRavi Bhavnani10-Jul-14 6:09 
GeneralNow this is when programming is fun! PinPopular
Marc Clifton10-Jul-14 2:08
mvaMarc Clifton10-Jul-14 2: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! Pin
Rage10-Jul-14 2:21
professionalRage10-Jul-14 2:21 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 2:29
professionalglennPattonWork310-Jul-14 2:29 
GeneralRe: Now this is when programming is fun! Pin
Rage10-Jul-14 2:34
professionalRage10-Jul-14 2:34 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 2:47
professionalglennPattonWork310-Jul-14 2:47 
GeneralRe: Now this is when programming is fun! Pin
Andy Brummer10-Jul-14 5:26
sitebuilderAndy Brummer10-Jul-14 5:26 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 7:51
professionalglennPattonWork310-Jul-14 7:51 
GeneralRe: Now this is when programming is fun! Pin
Andy Brummer10-Jul-14 8:28
sitebuilderAndy Brummer10-Jul-14 8:28 
GeneralRe: Now this is when programming is fun! Pin
OriginalGriff10-Jul-14 2:44
mveOriginalGriff10-Jul-14 2:44 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 2:50
professionalglennPattonWork310-Jul-14 2:50 
GeneralRe: Now this is when programming is fun! Pin
OriginalGriff10-Jul-14 3:05
mveOriginalGriff10-Jul-14 3:05 
GeneralRe: Now this is when programming is fun! Pin
Nagy Vilmos10-Jul-14 3:07
professionalNagy Vilmos10-Jul-14 3:07 
GeneralRe: Now this is when programming is fun! Pin
OriginalGriff10-Jul-14 3:20
mveOriginalGriff10-Jul-14 3:20 
GeneralRe: Now this is when programming is fun! Pin
Mark Parity10-Jul-14 3:21
Mark Parity10-Jul-14 3:21 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 3:11
professionalglennPattonWork310-Jul-14 3:11 
GeneralRe: Now this is when programming is fun! Pin
yousafzai amazai10-Jul-14 3:14
yousafzai amazai10-Jul-14 3:14 
GeneralRe: Now this is when programming is fun! Pin
OriginalGriff10-Jul-14 3:17
mveOriginalGriff10-Jul-14 3:17 
GeneralRe: Now this is when programming is fun! Pin
glennPattonWork310-Jul-14 3:19
professionalglennPattonWork310-Jul-14 3:19 

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

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