Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 18:34 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2 PIN Security

Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 857
Posted: 10:06am 12 Sep 2024
Copy link to clipboard 
Print this post

  Quote  PIN Security
Sometimes it is important to keep the data and program confidential. In the Colour Maximite 2 this can be
done by using the OPTION PIN command. This command will set a pin number (which is stored in non
volatile memory) and whenever MMBasic returns to the command prompt (for whatever reason) the user at the
console will be prompted to enter the PIN number. Without the correct PIN the user cannot get to the
command prompt and their only option is to enter the correct PIN or reboot the computer. When it is rebooted
the user will still need the correct PIN to access the command prompt.
Because an intruder cannot reach the command prompt they cannot list or copy the program held in the
program memory, they cannot change the program or change any aspect of MMBasic. Once set the PIN can
only be removed by providing the correct PIN as set in the first place. If the number is lost the only method of
recovery is to reset MMBasic as described below (which will erase the program).
Note that this is not a complete protection as it is possible to connect a debugger to the ARM Cortex-M7 CPU
and access all areas of memory using that facility but it does deter casual access.


But the SD card (source code) can be removed and read on a PC though?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6779
Posted: 12:47pm 12 Sep 2024
Copy link to clipboard 
Print this post

Nothing is 100% secure.

If you want the source code to be secure take the SD card away and lock it in a safe - the data on it isn't encrypted in any way.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 857
Posted: 01:02pm 12 Sep 2024
Copy link to clipboard 
Print this post

  Mixtel90 said  Nothing is 100% secure.

If you want the source code to be secure take the SD card away and lock it in a safe - the data on it isn't encrypted in any way.


Yeah, I only just realised that the active program remains in flash. Note to self, this bedtime...RTFM  
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024