Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson3-Feb-15 6:11
adam.m.b.nelson3-Feb-15 6:11 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:35
mveRichard MacCutchan14-Feb-13 6:35 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 6:54
adam.m.b.nelson14-Feb-13 6:54 
AnswerRe: Send/Receive text to CMD from C# GUI Pin
Alan N14-Feb-13 7:32
Alan N14-Feb-13 7:32 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:48
adam.m.b.nelson14-Feb-13 7:48 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 8:23
adam.m.b.nelson14-Feb-13 8:23 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Alan N14-Feb-13 9:57
Alan N14-Feb-13 9:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
jschell14-Feb-13 11:44
jschell14-Feb-13 11:44 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson15-Feb-13 2:22
adam.m.b.nelson15-Feb-13 2:22 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
jschell15-Feb-13 8:57
jschell15-Feb-13 8:57 
Questionobject recognition Pin
manoj dhunelg14-Feb-13 2:42
manoj dhunelg14-Feb-13 2:42 
AnswerRe: object recognition Pin
Richard MacCutchan14-Feb-13 3:41
mveRichard MacCutchan14-Feb-13 3:41 
AnswerRe: object recognition Pin
Dave Kreskowiak14-Feb-13 6:14
mveDave Kreskowiak14-Feb-13 6:14 
Questionforcing users to use English language Pin
sina rafati nia13-Feb-13 21:23
sina rafati nia13-Feb-13 21:23 
AnswerRe: forcing users to use English language Pin
Manfred Rudolf Bihy13-Feb-13 22:29
professionalManfred Rudolf Bihy13-Feb-13 22:29 

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.