The following warnings occurred:
Warning [2] Undefined array key 255009 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 255015 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 255020 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 255024 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 255024 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





PRIME: Memory Map



#5

Is there a memory map for the Prime?
I am interested to see where various things are located in a general way,not really specifics.
Is a backup of the OS actually on the calculator at all times to re flash the OS or is the OS transferred to the calculator using the Connectivity Kit from ones PC after the flash memory has been re formatted?
Is there more than one layer of memory.
For example one layer where the backup copy of the OS resides to use in reinstalling the OS,etc
Are the different areas of memory walled off from others so that, for example, memory for programs can not be corrupted by say variable storage,etc.


#6

There is no "re-installing" of the OS. The OS sits in a pre-defined location, and any "formatting" done excludes these pre-defined locations. Theoretically, nothing the user does will ever affect those memory blocks in which the OS is stored, including formatting.

There is an INI file here: Old HP Prime firmware

This will give you an idea of certain memory boundaries.

As for memory boundaries for programs and variables, I am under the impression that they all share the same block.

Lastly, there is RAM and FLASH. RAM is for use by the calculator like RAM on a PC. Flash is where the OS is stored, as well as user variables, settings, programs, etc. It serves the same purpose as a hard drive on a PC. My understanding is that nothing is "saved" into flash until the HP is turned off -- this is why there is a slight delay when turning off the HP. It is writing to FLASH before it shuts down.


#7

Quote:
There is no "re-installing" of the OS. The OS sits in a pre-defined location, and any "formatting" done excludes these pre-defined locations. Theoretically, nothing the user does will ever affect those memory blocks in which the OS is stored, including formatting.

There is an INI file here: Old HP Prime firmware

This will give you an idea of certain memory boundaries.

As for memory boundaries for programs and variables, I am under the impression that they all share the same block.

Lastly, there is RAM and FLASH. RAM is for use by the calculator like RAM on a PC. Flash is where the OS is stored, as well as user variables, settings, programs, etc. It serves the same purpose as a hard drive on a PC. My understanding is that nothing is "saved" into flash until the HP is turned off -- this is why there is a slight delay when turning off the HP. It is writing to FLASH before it shuts down.


When HP gets an upgrade to the OS ready, will the new version of the OS be written to the pre-defined location you mention above, using the connectivity kit and erasing( or over-writing) the older version of the OS?
In the saving you mention above is there only saving if there is something different or is the saving a complete copy of the calculator state at the time of turning off the calculator.?


#8

Quote:
When HP gets an upgrade to the OS ready, will the new version of the OS be written to the pre-defined location you mention above, using the connectivity kit and erasing( or over-writing) the older version of the OS?

My understanding is that is exactly what happens.

Quote:
In the saving you mention above is there only saving if there is something different or is the saving a complete copy of the calculator state at the time of turning off the calculator.?

Unfortunately, I do not know the answer to this one. Since flash has a limited number of writes before we can expect degradation in integrity of the data, I imagine that the algorithms limit the number of writes -- so that only the updates are saved. This probably means some sort of garbage collection is necessary. All this is pure speculation, though.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP Prime: problem with the memory of calculator during the debug process? Carlos CM (Mexico) 7 3,382 12-06-2013, 12:34 PM
Last Post: Carlos CM (Mexico)
  Prime cant find Memory available Dougggg 5 1,949 10-07-2013, 07:24 PM
Last Post: Han
  41 User Memory vs System Memory Gerry Schultz 6 2,338 07-01-2012, 12:02 AM
Last Post: Monte Dalrymple
  50G<-->28S SYSEVAL map Matt Agajanian 3 1,565 05-29-2012, 03:28 PM
Last Post: Christoph Giesselink
  OT: TI-57 Memory Map HrastProgrammer 1 937 10-15-2010, 04:10 AM
Last Post: Francis Pierot
  Have memory, and getting "insuf memory" err mssg. Jes 1 857 04-02-2003, 05:41 AM
Last Post: James M. Prange
  New article: HP Opcode Map Dave Hicks 0 702 12-14-2000, 05:58 PM
Last Post: Dave Hicks

Forum Jump: