Unfortunately I've never used either of those. Hopefully someone else here will have more experience in that area. You should provide as much detail as possible on what the situation is. Is the BLE module firmware also an Arduino sketch?
I do know there is a hardware package that adds support to the Arduino IDE for the nRF51822 microcontroller on your MDBT40 BLE module and the J-Link: