Topic : Code banking in RIDE6

Forum : 8051

Original Post
Post Information Post
September 17, 2009 - 1:01pm
Guest

I'm experimenting with code banking. I opened the example project (SPL) and in Options -> Project -> LX51 -> Bank switching -> Modules tab I could see a list of modules, re-assign them to different banks, etc. However, when I create a new project and add SPL_EXT0.C and other files to it and then got LX51 settings and tick the 'Use Bank switching mode' the Modules tab remains empty. After building a project, closing and reopening RIDE it's still the same. Other project settings are RIDE's default. What else may be causing the Modules list to remain empty?

I'm using RIDE 6.10.22, 80C51 ToolChain 6.4.52, MX ToolChain 1.0.11

Replies
Post Information Post
+1
0
-1
September 17, 2009 - 2:05pm
Raisonance Support Team

This is because new projects have 'Lauch tools with executables' on.

This is a known issue. To fix it, unset this option in Options\Target\Properties.

Stéphane

+1
0
-1
October 6, 2010 - 2:41pm
Guest

I have another issue with the RIDE7. I'm currently testing the evaluation version 7.30.10.0159 with RKit-51 6.06.10.0173 and I'm having trouble with generating the output bin files in my project using code banking. The RIDE6 would genrate files .bic, .bi0, .bi1 etc. The RIDE7 calls the OH51.exe only for the .AOF file and outputs only the .bin file for the Common Area. I can obviously call OH51.exe from the command lie manually - is there any way to automate this?

+1
0
-1
October 6, 2010 - 3:06pm
Raisonance Support Team

Hi Piotr,

In Ride7, the "Linker options | Additions options | More options" is typically here for this. You can type in any command-line command, which will be passed on to the linker when building your project.

I hope this helps,

+1
0
-1
October 6, 2010 - 3:23pm
Guest

Hi Bruno,

Thanks for the tip but that doesn't really resolve the problem. The linker runs fine and generates .AOF, .X0 and .X1 files. The problem is to run the OH51.exe on all of the above files autiomatically. It worked in RIDE6 but for some reason doesn't work with RIDE7. I tried to import RIDE6 project and create a new project from scratch with existing sources but the issue remains in both cases.

Regards,

Piotr

+1
0
-1
October 12, 2010 - 9:59am
Raisonance Support Team

HEX and BIN generation wasn't done for banking modules.

This is corrected now and will be available in the next RKit-51 release.