From: Frans S. <fra...@gm...> - 2008-12-05 08:08:19
|
Hi, Francesco wrote: > Francesco Montorsi ha scritto: > >> However you're right that probably two simple menu items which do a wxLogMessage >> with some info (e.g. "Usbpicprog v.xx connect on port yy") could be enough for >> now... >> > I've implemented this in the upp_wx_thread branch. > > I think it's now mostly ready to be copied in the trunk. > Yes I think so too! I haven't changed much in the trunk version, so we can simply overwrite everything! In the mean time I have concentrated somewhat on the language files I got from some people, but as you have seen, they are in the branched version too. > One last thing I'd like fix is that when I choose the Actions->Autodetect menu > item, even if the programmer is connected to the USB but disconnected from any > external circuits, upp_wx happily says: > > "Detected: P18F2550" > > I think this is misleading. I'd prefer it to say: > > "No PIC detected!" > This is indeed a thing that I also wanted to change. What autodetect should do is reading the device id from the PIC. But when pictype can't find the detected devId, it will replace it with the "default pic" which is P18F2550. > I'm not really sure what Hardware::autoDetect does (I've added some error > checking but the result doesn't change) but it looks to me like if it "detects" > P18F2550 because that's the PIC used in the UPP programmer itself. > > I think that when the user chooses Actions->Autodetect, he doesn't want to know > about the PIC used for the UPP programmer itself... > sure, you are right Frans |