Click here to Skip to main content
15,893,401 members
Home / Discussions / C#
   

C#

 
GeneralRe: Better code Pin
ali_heidari_14-Feb-13 12:05
ali_heidari_14-Feb-13 12:05 
GeneralRe: Better code Pin
Bull City Rambler14-Feb-13 12:58
Bull City Rambler14-Feb-13 12:58 
GeneralRe: Better code Pin
Eddy Vluggen14-Feb-13 21:01
professionalEddy Vluggen14-Feb-13 21:01 
AnswerRe: Better code Pin
cjb11015-Feb-13 0:59
cjb11015-Feb-13 0:59 
QuestionSend/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 3:13
adam.m.b.nelson14-Feb-13 3:13 
AnswerRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 3:45
mveRichard MacCutchan14-Feb-13 3:45 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 3:54
adam.m.b.nelson14-Feb-13 3:54 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 4:57
mveRichard MacCutchan14-Feb-13 4:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 5:46
adam.m.b.nelson14-Feb-13 5:46 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 5:56
adam.m.b.nelson14-Feb-13 5:56 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:01
mveRichard MacCutchan14-Feb-13 6:01 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 6:57
adam.m.b.nelson14-Feb-13 6:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 7:03
mveRichard MacCutchan14-Feb-13 7:03 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:45
adam.m.b.nelson14-Feb-13 7:45 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 8:02
adam.m.b.nelson14-Feb-13 8:02 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:29
mveRichard MacCutchan14-Feb-13 6:29 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:04
adam.m.b.nelson14-Feb-13 7:04 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 7:21
mveRichard MacCutchan14-Feb-13 7:21 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 8:06
adam.m.b.nelson14-Feb-13 8:06 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 9:41
mveRichard MacCutchan14-Feb-13 9:41 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 9:48
adam.m.b.nelson14-Feb-13 9:48 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 10:08
mveRichard MacCutchan14-Feb-13 10:08 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 10:27
adam.m.b.nelson14-Feb-13 10:27 
OK, I am starting to understand the issue. I had noticed it looked like there were two windows for an instant, but i attributed it to one of the Win7 window effects. So what is likely happening is there are actually two windows, and the one just opens and closes so fast that I can't see it?

To use the 'atprogram' the only route i can find into it is to use the StudioCommandPrompt located here "C:/Program Files (x86)/Atmel/Atmel Studio 6.0/extensions/Application/StudioCommandPrompt.exe". Once its open I need to run these commands:
C++
atprogram -t avrispmk2 -i isp -xr -d ATmega328 -v chiperase
atprogram -t avrispmk2 -i isp -xr -d ATmega328 write -fs --values 7FD9FF 
atprogram -t avrispmk2 -i isp -xr -d ATmega328 program -f Example.hex


After each step the window spits out some pass fail information.

There are alternative command line programming options, but that is the one I learned first.

This all makes a lot more sense now that I know the window is opening and closing very fast, it actually explains a lot. We're at the end of the day here, but first thing in the morning I'll try pumping in program commands like that and see if it works.

This whole time I saw an idle window sitting there, and assumed it meant the input hadn't been received.

Thanks for your help and patience, I will update tomorrow morning.
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 22:57
mveRichard MacCutchan14-Feb-13 22:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson15-Feb-13 2:21
adam.m.b.nelson15-Feb-13 2:21 

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.