I’m not editing mios file, I try to edit the app file.
You said:
Then editing the mios_enc_table.inc in the \include\asm :
That is not really part of the application, it is part of MIOS. You should not edit this file.
As you can see in SVN,There are only four files to this app, two if you don’t count the readme and the makefile. From your description, what you have, is a ‘distribution package’. This contains not only the application, but all of the other required files to build the application to run on MIOS. /include/asm/* are some of those files. A distribution package is intended for releasing a finished applicaton for distribution, and not for creating a new application as you have. This is because modifications are made which make it possible to build the application from the contents of the one .zip file, but they can make changing the application a little tricky. I’ll come back to that…
I have had a look at the encoder_table_in_c page but it’s still not clear for me. I’m really noob in programmation. I’ve already manage to config my last midibox based on MB64E. But with the AIN64_DIN128 I d’ont understand why there’s a Mios_enc_table.inc file because when I edit it it change nothing in the hex file. Do you see what I mean?
Yes. that is how it’s supposed to work. That file should not be edited, it is (as it says at the top of the file) a dummy table. It serves the purpose of providing an empty table, when no other table is provided. MIOS will look for the encoder table in your application files, if you provide the table it as it is shown on the wiki page, or as included in the example you have found.
I’m looking at the encoder_table_in_C page on the wiki and I see :
Does It mean that I have to edit the makefile file in order to make it like that ?:
MIOS_PATH= .
MIOS_BIN_PATH = .\bin
export MIOS_PATH
export MIOS_BIN_PATH
include makefile.orig
pass parameters to MIOS wrapper
MIOS_WRAPPER_DEFINES = -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f
-DDONT_INCLUDE_MIOS_ENC_TABLE
Almost, but not quite. If you are building a new app, you would do it using the mios_base package, and a fresh skeleton. The skeleton has a makefile in it, which you would normally edit, as you have done above. So… almost 
But not quite… I mentioned that distribution packages are not intended for creating new apps, and this is one reason why. You’ll notice that the last line in the makefile (before you edited it), is:
include makefile.orig
That line, as it suggests, includes the contents of the file named makefile.orig, in this file. As it’s name suggests, it is the original makefile, as it would have been in the application, prior to being converted into a distribution package.
Because you have placed your edit below that line, the entirety of makefile.orig, which builds the app for you, will have completed, before your modification is reached. If you put the text before the ‘include’, then it still would not work, because that variable is overwritten in makefile.orig. You should edit makefile.orig… or better yet, you should get rid of your current distribution package, download the mios_base package, and use the skeleton to create your new app.
Sorry for my dummy question…
The question was not dummy, but not bothering to search the wiki was!