We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all -
I'm evaluating the Keil MDK. I have a NUCLEO-L496ZG board, and the Pack Installer doesn't have an entry for this board. It does have an entry for the L476RG. I just want to do some of the examples shown in the Videos section of Keil's web site; nothing fancy yet. Can someone tell me whether I can use the L476RG pack with my board, and what I might need to do to getting the MDK working on my board? If I can just learn how to use the debugger, and turn the on-board LED on and off, I'd consider that a success.
Thanks.
Well, it looks like it should do everything properly EXCEPT turn an LED on and off. The NUCLEO-L476RG board has a single LED and it is on pin PA.5.
The NUCLO-L496ZG does not have an LED on pin PA.5 The plus side is that the L496ZG board has more than 1 user controllable LED on it. Download the schematic from ST and configure the proper pins (that have LED's connected to them)
It looks like there are two that are safe to work with:
LD1 is PB14 (red) LD2 is PB7 (blue)
I'm assuming that PB means that this is off the GPIOB?
So, I'm guessing that I'd modify the contents of the file LED_NUCLEO_L476RG.c as follows:
1. enable the GPIOB clock (instead of GPIOA) 2. change references to GPIOA to GPIOB for the pin configurations.
Though rather than change this file, it'd make more sense to copy it and modify it for the 96 series. But...I don't see how to add or remove files from the project in uVision. Am I trying to perform an unnatural act here?