I was able to isolate the issue: it's created by the use of pragma inline within a procedure recurently called in the main program.
It appears on more than one PIC (I've seen it with PIC18F25K50, PIC18F2550), but the program memory has to be used partially (between 0FFF to 1FFF to catch it , so it's not related by PIC definition file. I would appreciate any feedback describing how to fix it on this issue (of course one is: do not use pragma inline...:) ) On Thu, Apr 1, 2021 at 10:56 AM vsurducan <[email protected]> wrote: > Hi all, > I'm not sure if this is a compiler error or maybe a file definition error? > The error disappears if i'm comment part of the source code, aka making it > smaller...it also runs ok. > > Compilation started at :4/1/2021 10:54:36 AM > jal jalv25r4 (compiled Dec 26 2020) > Assertion failed! > [Error] (jalv2_64.exe.jal) [Line 0] > File: picbsrop.c, Line 57 > Expression: data->ix < PIC_CODE_GOP_DEPTH > Compiler CommandLine: C:\JALLIB~2.0\compiler\jalv2_64.exe > "C:\cat\18F25k50_8adc_usb_serial.jal" -s "C:\cat" -no-variable-reuse > > Errors :0 Warnings :0 > Code :0/100 Data:0/100 Hardware Stack : 0/100 Software Stack :0 > > > > > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/CAM%2Bj4qtJDc437RH83iSSncgzvMxpiH9277%2B-GZ3u%3Db_cqg%3Dhzw%40mail.gmail.com.
