The following warnings occurred:
Warning [2] Undefined array key 183669 - 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 183675 - 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 183676 - 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 183677 - 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 183678 - 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 183682 - 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 183685 - 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 183717 - 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 183724 - 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 183732 - 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 183748 - 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 183760 - 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 183772 - 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 183787 - 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 183787 - 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 332 ThreadedMode::buildtree
/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 332 ThreadedMode::buildtree
/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 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





wp34s - New features in the SVN repository - now released!



#14

I've added a new feature to wp34s: Flash backup of user data. This is still preliminary, more a proof of concept that I can handle flash programming within the firmware but it's useful:

ON + 'B' creates a backup of the 2 KB static RAM in flash where it survives a complete power loss, reset or other trouble.

ON + 'R' restores the backup. Only data with a valid checksum is copied.

You'll find the most recent build in SVN on SourceForge only.

Edit: The package is now released in SF.


Edited: 6 May 2011, 3:50 a.m. after one or more responses were posted


#15

Probably my fault, but version 820 does not work on my 20b. After the download to the calculator is complete, the display stays blank and does not respond to keystrokes.

Assuming the above is just a minor glitch, could this new feature somehow be used to get programs from the outside world, say developed on the emulator, into the calculator? In other words, could a bin file be created with valid data in the flash ram back-up area and then downloaded into the calculator?


#16

I have to check what's possible. It's not clear if the emulator produces exactly the same structure as the real hardware.

I'll check why 820 doesn't respond. Can you retry the download? Have you set the "boot from flash" bit in SAM-BA?


#17

I am using MySamba, not SAM-BA. I tried it using SAM-BA and got it to download successfully. MySamba is a lot easier to use than SAM-BA, so if you could figure out a way to make it work with MySamba, that would be great :-)

Do any of our tools allow the bin file to be extracted from the calculator? That would allow programs to be developed, uploaded to PC, stored, shared, re-downloaded, etc.


#18

I could add a hidden feature to activate the SAM-BA boot loader on the next reset without clearing the flash. That would allow external access to the flash contents. A way to up/download via the cable would be the deluxe variant.


#19

I am not quite sure what you mean by your response, but, I'll assume it would be good. My naive assumption (or hope) about how it should or could work is as follows:

Step  Action
1 wp34s user creates a nifty program on a 20b or 30b running wp34s
2 wp34s user backs up ram to flash memory
3 wp34s user extracts current rom from calculator
4 wp34s user sends rom to another wp34s user
5 2nd wp34s user downloads rom to his/her 20b/30b
6 2nd wp34s user executes restore command to move program from
flash into ram
7 2nd wp34s user begins using 1st wp34s user's nifty program

I tested the back-up and restore commands, they work as advertised. Cool!

...


#20

I was thinking of simply concatenating the wp34s.dat file of the emulator with the flash image and restoring this. This may work or may not, depending on some details which I don't know yet.

The problem with getting the current flash contents out of a real wp34s is that you cannot get into SAM-BA mode without erasing the complete flash contents. :-( I need to add a command to enable SAM-BA without erase or even better to send the flash or user RAM through the serial port from the application.


#21

Quote:
I was thinking of simply concatenating the wp34s.dat file of the emulator with the flash image and restoring this. This may work or may not, depending on some details which I don't know yet.

Program development on the emulator would be a great alternative, as long as there is some way to get programs onto the calculator from the outside world. My operating paradigm might now look like this:

Step  Action
1 wp34s user creates a nifty program on the wp34s emulator
2 wp34s user backs up ram to "virtual" flash memory on the emulator
3 wp34s user extracts wp34s.dat file of the emulator and
concatenates with calculator bin file
4 wp34s user downloads rom to his/her 20b/30b
5 wp34s user executes restore command to move program from
flash into ram
6 wp34s user begins using nifty program on the real hardware

Of course programs could be shared among users this way also.

Speaking of concatenating to the flash image file, if you recall I mentioned that the new version would not download correctly for me using MySamba. I assumed this had something to do with the new version being only 126k instead of 128k. I tried padding the file out to 128k, but could not get it to work. Do you have any idea why MySamba does not like the shorter file or versions padded out to 128k? Is there some secret character that must come at the end?


#22

See the new file flash.txt in the current release for what is possible now. :-)


#23

Hi Marcus,

Thanks for your continued work on this.

I read the flash.txt file and attempted to follow the instructions, but the uploaded dat file was 4k file. I did not figure I could tack a 4k file on to a 126k file to get a 128k file to download back into my other calculator, so I must be doing something wrong. I was able to get my calculator back in business, so no damage done.

edit - On my second try I was able to upload the state file from my 20b, concatenate to the v831 bin file, load that file onto my 30b, and restore the state file on the 30b. Not sure if I remember exactly how I did it though.


Edited: 6 May 2011, 2:56 p.m.


#24

A state file is always a bit short of 2K. The 4K file must have been something different.

The command is:

copy /b calc.bin+wp34s.dat calc-2.dat

You then send calc-2.dat to your calculator.

Edited: 6 May 2011, 4:10 p.m.


#25

The 4k file was a definite error on my part.

Quote:
The command is:

copy /b calc.bin+wp34s.dat calc-2.dat


That sounds like some sort of linux mumbo jumbo with which I am totally unfamiliar :-)

I used a much more cumbersome process using a hex editor.


#26

It's plain old DOS respectively Windows command prompt.


#27

Thanks, shows what I know (very little, obviously.)

Turns out I do remember basic DOS commands, the suggested procedure worked great. Thanks Marcus.

Edited: 9 May 2011, 7:46 a.m.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Droid48 Reader 1.2 Released Chris Dreher 0 1,035 10-23-2013, 02:26 PM
Last Post: Chris Dreher
  SandMatrix Released - The trilogy is complete. Ángel Martin 3 1,690 08-30-2013, 05:35 PM
Last Post: Marcel Samek
  SVN command to get latest realbuild Barry Mead 3 1,587 07-19-2013, 12:59 PM
Last Post: Didier Lachieze
  Latest & Last SandMath is released Ángel Martin 0 1,021 07-02-2013, 12:44 AM
Last Post: Ángel Martin
  HP 50g: Major updates for MLP / OSE / HLP released Software49g 2 1,389 04-15-2013, 04:49 AM
Last Post: Michael Lopez
  Official released of the TI-84 Plus C Silver Edition Mic 12 3,062 01-21-2013, 01:38 PM
Last Post: Eric Smith
  Droid48 Reader 1.1 Released Chris Dreher 0 865 01-15-2013, 12:43 AM
Last Post: Chris Dreher
  SpeedUI: Version 12.05 Holiday Edition released:-) Raymond Del Tondo 3 1,585 12-30-2012, 02:18 AM
Last Post: Han
  Only slightly OT: HOW TO Setup SVN+SSH on Windows® Marcus von Cube, Germany 3 1,549 12-24-2012, 04:53 AM
Last Post: Walter B
  WP 34S Owner's Manual released for print Walter B 28 7,303 12-10-2012, 08:36 AM
Last Post: Walter B

Forum Jump: