Announcement

Collapse
No announcement yet.

How to program LCD "Boot uSD" in VisiGenie

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to program LCD "Boot uSD" in VisiGenie

    What happened to the "Boot uSD" option in Workshop 4 (v4.5.0.17)? How am I supposed to program the LCD (gen4-uLCD-70DT) with the parent program which loads the program from microSD card? There is an "Update Bank(s) and Run" option, but this does not do what I want. I want to program the LCD only with the parent (bootloader) program, then put all lcd programming (Visi Genie) and content on the uSD card. It seems like the Build button does indeed put the program on the uSD card (RunBank1.4xe), but I can't figure out how to program the LCD with the bootloader. I know this used to be an option, but it is not included now?

  • #2
    If you hover over 'Updates Bank(s) and Run' you will see that this is really an enhanced 'Boot uSD' program.

    'Boot uSD' loaded the program off uSD at every boot into RAM

    'Updates Bank(s) and Run' checks to see if the program on uSD has changed. If it has it loads the new program into Flashbank 1 and runs it. If it hasn't it just runs the program in Flashbank1.

    As well as being 'cleaner' and a bit faster, it also gives you significantly more program space.

    The new program should require no changes to anything you do, other than to click on a different Icon to load the new program.
    Mark

    Comment


    • #3
      Why would it be put in Flash bank 1? Why not in Flash bank 0, like normal programs? Also, I don't think it is working. I tried using this, and later changed uSD cards with one that had a different program, but the differences were not updated in the LCD. I had to attach the LCD to the PC via the programming cable and use the "Update Banks" funtion to get the LCD to see the changes in the new uSD card. This is what I was hoping to avoid by putting the program on the uSD card. I don't want to have to attach the LCD to the programming cable just to make changes.

      Comment


      • #4
        The bootloader lives in flashbank0, thus your program lives in flashbank1

        The old method looked for a program called RunFlash.4xe on the uSD card

        The new method looks for "RunBank1.4xe"

        So, for the first usage of the new method you will need to load the new bootloader, otherwise you will be looking for the program by the old name.

        You only need to do that once.

        Mark

        Comment


        • #5
          Thanks for helping Mark,
          I don't understand how the bootloader gets into flash bank0. Where is the button that does that? Also, there is a major problem with this. What I expect to happen is that there is a bootloader in flashbank0 that checks the uSD card for the program, then copies it to RAM and executes it there. What I think is actually happening is that the Workshop 4IDE must be used and connected to the LCD with the programmer cable, and user must press the "Update Banks" button. Only then does the flashbank1 get programmed with the RunBank1.4xe program. This defeats the purpose.
          Once the program gets put into flashbank1, the bootloader never again checks for an updated program on the uSD card, so how would a program update happen? For example, by replacing the uSD card with one that has a new program (and support files) on it.
          If I am still misunderstanding how it is supposed to work, then I can't explain why it doesn't work in my case. This is why I think there is no bootloader in flashbank0.

          Comment


          • #6
            When you clicked on the old 'boot uSD' tool it put a program in Flashbank0.

            Similarly, when you click on the new 'Updates Bank(s) and Run' it puts the new program in Flashbank0.

            You only need to click on that once and the display will have that program in flash, until you replace it with something else.
            Mark

            Comment


            • #7
              Mark,

              Well I guess I'll keep trying. Thanks for your replies.

              bjl

              Comment


              • #8
                Hi bjl,

                You can read on these application notes to learn more about the Flashbanks:

                ViSi-Genie Program Destination
                http://www.4dsystems.com.au/appnote/4D-AN-00202/

                ViSi-Genie Switching Banks
                http://www.4dsystems.com.au/appnote/4DLS-AN-00042S/

                ViSi-Genie Flash Banks
                http://www.4dsystems.com.au/appnote/4DLS-AN-00041S/

                Comment


                • #9
                  Mark,
                  I have read 4D-AN-00202. I have not seen 4DLS-AN-00041S before, so I will give it a look. Thank you!

                  Comment

                  Working...
                  X