Closed PL125 closed 1 year ago
I solved a similar problem with the CHIP ID..
Moun River (1.5 linux) is out of date with the openwch github There are several routines that are not included in the template that MRS uses to crate a MRS project. The latest examples in the EXAM subdirectory of the github include, at least, the GetCHIPID in mainc.c
two of concern are: uint32_t DBGMCU_GetDEVID(void); uint32_t DBGMCU_GetCHIPID( void );
They are in the ".../EVT/EXAM/SRC/Pheripheral/ inc and src / ch32v00x_dbgmcu. c and h files
I don't know how to update the MRS template (maybe the .zip files in the .templates directory) so: What I do is download the SRC subdirectory into a separate directory on my system.... then...
in MRS create a new MRS project then from the top level of the proj right-click->Add->Existing Directory.. then select the Peripheral directory from this new "SRC" directory... allowing overwrite... seems to work for me....
Hope this helps..
Nice, thanks for the input @CanHobby
Hi, how can we read the 96 bit unique ID? Thanks.