I recently upgraded to the free version of uV4, and was having problems with one of my boards, so I decided to make a new project and try to isolate the problem.
When I go to Project->Select Device For Target, the resulting device list is empty. The tools.ini file doesn't have an entry for the device database, and I'm not sure if uV4 requires it.
I don't have a solution, but I'm having the same problem here. Evaluating uV for a project. Frustrated enough by this I think I'll give the competitors a spin...
I found that if I copied the database over from a previous installation, it would allow me to pick the device.
Thanks, Brian.
I'm running an eval for a Nordic BLE chip with a Cortex-M0. The Nordic's SDK's examples work fine, but when I make a new project so I can learn by building "from scratch" I get the empty device window.
After reading your post, I checked my tools.ini and it does have a CDB32= entry that points to the correct .cdb file -- the Nordic folks made one of their own -- and uV seems to know about both as I can select either of the Nordic or UV4.cdb (base) DB files in the UI.
But uV stubbornly refuses to show any entries from either file in the UI. I peeked inside the .cdb files with Emacs and both have reasonable stuff in them, AFAIKT.
This is 64-bit Win8.
I did try making the CDB32= entry in tools.ini absolute instead of relative, but it didn't change anything. Anyway, I think uV is finding the .cdb files, just not showing their contents.
Oddly enough, the Device Database editor under the File menu can browse the contents of these .cdb files just fine!
I just can't use them to attach a device to a target.
Thanks for cross-link Andrew.
For grins I went ahead and installed the generic CortexM device pack and the legacy stuff -- even though I don't know why I'd need too -- of course, no joy. (My understanding is the Device DB is just tool settings and config anyway, so not sure why it should be looking around at anything else in the install.)
I mean, I have an install of uV5 that can build example programs from Nordic just fine, and I have a Nordic Device DB -- so all the files should be there. But nothing I do let's me select (the many) targets from either the base nor Nordic .cdb files.
Oops. I take that back. Installing all that stuff has made all the targets in the core/base list appear. So that's something.
Of course, not sure how to make the 4 devices in my odd-ball Nordic Device DB appear.
(Is this a uV4 to uV5 thing?)
Suppose I can customize one of these targets -- but if I'm going to do that, I think I'll look at some other products instead, since the turn-key nature of Keil is negated.
Ah, OK. The Nordic stuff is uV4, the tools are now (just) at uV5 -- so the Nordic examples aren't up to date. I'll bug them, or customize.
Thanks everyone.