Reset after Flash program on XC-1A and XDE?

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
plasmator
New User
Posts: 3
Joined: Tue Nov 08, 2011 9:15 pm

Reset after Flash program on XC-1A and XDE?

Post by plasmator »

I'm just getting started with the bundle of XMOS gear that I ordered recently, and have started working through some of the tutorials with XDE running on Windows 7 with the XC-1A connected via USB. One thing that has annoyed me is that after flashing the code, I have to power cycle the board to get the newly-flashed code to run.

I'll be the first to admit that I may missing something in the XDE, so is there an option somewhere to do a hardware reset after flash programming? Or, perhaps this should be happening automatically and something about my config is awry? Unfortunately, a good half-hour of Googling hasn't brought me to an answer so here I am with my first XCore post begging for help. :)

Thanks!
User avatar
rp181
Respected Member
Posts: 395
Joined: Tue May 18, 2010 12:25 am

Post by rp181 »

Why not simply run it as an application after flashing? Everything runs the same. Do you have a reason that it needs to run from flash?
plasmator
New User
Posts: 3
Joined: Tue Nov 08, 2011 9:15 pm

Post by plasmator »

EDIT: Nevermind, I figured it out! Thanks!
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

Can you please say what exactly did you figure out?
It might help other people with the same question.
User avatar
phalt
Respected Member
Posts: 298
Joined: Thu May 12, 2011 11:14 am

Post by phalt »

Bianco wrote:Can you please say what exactly did you figure out?
It might help other people with the same question.
You beat me to it by a few seconds Bianco.

Telling us what you did to resolve the issue with help people in the future if they encounter the same problem.
plasmator
New User
Posts: 3
Joined: Tue Nov 08, 2011 9:15 pm

Post by plasmator »

Well, this is going to sound silly... But coming from the world of PICs, AVRs, and the like I saw "Run Application" and thought that was just for running on the Simulator. Complicating matters is the fact that when I first tried "Run Application" I didn't have any hardware plugged in so I just saw the Simulator option, further reinforcing my misunderstanding.

I figured the Flash option was how one went about running code on the hardware itself.

But now I know that I can Run Application on the hardware thanks to the magic of JTAG/XTAG and all is well. :)

Thanks for the advice to post my 'solution' by the way, but hopefully this isn't a common problem. :)